Jira Estimate
Estimate AI implementation time for a Jira ticket using weighted complexity scoring across five factors.
Inputs
| Variable |
Description |
Example |
${input:jiraBaseUrl} |
Base URL of your Jira instance |
https://jira.example.com |
${input:ticketId} |
Ticket ID to estimate |
PROJ-123 |
Story Point Scale
| Story Points |
Human time |
AI time |
| 1 |
1 day |
10–30 minutes |
| 2 |
3 days |
1–3 hours |
| 5 |
5 days |
4–8 hours |
| 8 |
8 days |
1–2 days |
| 13 |
13 days |
2–4 days |
AI is typically 10–50x faster for simple, well-defined tasks and 3–8x faster for complex tasks.
Process
1. Fetch Ticket Details
Navigate to ${input:jiraBaseUrl}/browse/${input:ticketId} and extract:
- Title / Summary
- Issue type (Bug / Task / Story)
- Description and Acceptance Criteria
- Labels, components, priority (optional)
- Linked issues / blockers (optional)
If sections are collapsed, expand them before extracting.
2. Analyze Codebase
Based on the ticket description, identify:
- Files likely to be modified (use Glob/Grep to find them)
- Existing patterns and architecture relevant to this change
- Dependencies that will need updates
- Tests requiring modification or creation
3. Complexity Scoring
Score each factor 1–5:
Technical Complexity
- 1: Simple data/config changes
- 2: Single-file logic with clear patterns
- 3: Multi-file changes following existing patterns
- 4: New feature requiring architectural decisions
- 5: Complex refactoring or system-wide changes
Codebase Familiarity
- 1: Well-documented, clear patterns, many examples
- 2: Good documentation, some examples
- 3: Moderate documentation, patterns exist
- 4: Limited documentation, needs exploration
- 5: Poor documentation, complex legacy code
Change Scope
- 1: 1–3 files, <100 lines
- 2: 4–10 files, 100–300 lines
- 3: 10–20 files, 300–600 lines
- 4: 20–50 files, 600–1000 lines
- 5: 50+ files, 1000+ lines
Testing Requirements
- 1: No new tests needed
- 2: Minor test updates
- 3: New unit tests for 2–3 components
- 4: Integration tests + unit tests
- 5: Full suite (unit + integration + e2e)
Risk & Unknowns
- 1: Clear requirements, known approach
- 2: Mostly clear, minor unknowns
- 3: Some ambiguity, needs exploration
- 4: Significant unknowns, multiple approaches
- 5: Highly ambiguous, research needed
4. Calculate Estimate
Weighted score (max 60):
- Technical Complexity × 3
- Codebase Familiarity × 2
- Change Scope × 3
- Testing Requirements × 2
- Risk & Unknowns × 2
| Score % |
Story Points |
AI Time |
| ≤ 20% |
1 |
10–30 min |
| ≤ 35% |
2 |
1–3 hours |
| ≤ 55% |
5 |
4–8 hours |
| ≤ 75% |
8 |
1–2 days |
| > 75% |
13 |
2–4 days |
5. Report Format
## AI Estimate: ${input:ticketId}
### Summary
- **Story Points**: X
- **Estimated AI Time**: Y
- **Confidence**: High / Medium / Low
- **Complexity Score**: X/60 (Y%)
### Ticket
- **Title**: ...
- **Type**: Bug / Feature / Task
- **Acceptance Criteria**: ...
### Codebase Analysis
- **Files to modify**: X identified
- **New files needed**: Y
- **Tests to update**: Z
### Complexity Breakdown
- Technical: X/5 — [reason]
- Familiarity: X/5 — [reason]
- Scope: X/5 — [reason]
- Testing: X/5 — [reason]
- Risk: X/5 — [reason]
### Implementation Approach
1. ...
2. ...
### Assumptions & Risks
- ...
### Recommendation
[Is this a good AI candidate? Any human oversight recommended?]
Special Cases
- Data-only changes — Minimum 1 story point. AI is 10–50x faster; typically 10–30 minutes.
- Research/spike tickets — Add +2 story points, mark Low Confidence.
- Bug fixes with unclear root cause — Add +1 story point.
Adding the Estimate Back to Jira
Add a comment to the ticket with the short estimate summary. Only update the Story Points field directly if it is editable and you can verify the change saved.
Common Mistakes
- Scoring before reading the ticket — Complexity scores without reading the description are guesses. Always fetch the ticket first.
- Ignoring the codebase — Familiarity and Scope scores require actually searching the repo. Do not estimate blind.
- Skipping the recommendation — The most useful output is whether this is a good AI candidate. Always include it.
- Overconfidence on ambiguous tickets — If Acceptance Criteria are missing or vague, mark confidence as Low regardless of the score.
1---2name: jira-estimate3description: Use when the user wants to estimate how long a Jira ticket would take for AI to implement, expressed as story points and AI time, based on codebase analysis and complexity scoring.4---56# Jira Estimate78Estimate AI implementation time for a Jira ticket using weighted complexity scoring across five factors.910## Inputs1112| Variable | Description | Example |13|----------|-------------|---------|14| `${input:jiraBaseUrl}` | Base URL of your Jira instance | `https://jira.example.com` |15| `${input:ticketId}` | Ticket ID to estimate | `PROJ-123` |1617## Story Point Scale1819| Story Points | Human time | AI time |20|---|---|---|21| 1 | 1 day | 10–30 minutes |22| 2 | 3 days | 1–3 hours |23| 5 | 5 days | 4–8 hours |24| 8 | 8 days | 1–2 days |25| 13 | 13 days | 2–4 days |2627AI is typically 10–50x faster for simple, well-defined tasks and 3–8x faster for complex tasks.2829## Process3031### 1. Fetch Ticket Details3233Navigate to `${input:jiraBaseUrl}/browse/${input:ticketId}` and extract:34- Title / Summary35- Issue type (Bug / Task / Story)36- Description and Acceptance Criteria37- Labels, components, priority (optional)38- Linked issues / blockers (optional)3940If sections are collapsed, expand them before extracting.4142### 2. Analyze Codebase4344Based on the ticket description, identify:45- Files likely to be modified (use Glob/Grep to find them)46- Existing patterns and architecture relevant to this change47- Dependencies that will need updates48- Tests requiring modification or creation4950### 3. Complexity Scoring5152Score each factor 1–5:5354**Technical Complexity**55- 1: Simple data/config changes56- 2: Single-file logic with clear patterns57- 3: Multi-file changes following existing patterns58- 4: New feature requiring architectural decisions59- 5: Complex refactoring or system-wide changes6061**Codebase Familiarity**62- 1: Well-documented, clear patterns, many examples63- 2: Good documentation, some examples64- 3: Moderate documentation, patterns exist65- 4: Limited documentation, needs exploration66- 5: Poor documentation, complex legacy code6768**Change Scope**69- 1: 1–3 files, <100 lines70- 2: 4–10 files, 100–300 lines71- 3: 10–20 files, 300–600 lines72- 4: 20–50 files, 600–1000 lines73- 5: 50+ files, 1000+ lines7475**Testing Requirements**76- 1: No new tests needed77- 2: Minor test updates78- 3: New unit tests for 2–3 components79- 4: Integration tests + unit tests80- 5: Full suite (unit + integration + e2e)8182**Risk & Unknowns**83- 1: Clear requirements, known approach84- 2: Mostly clear, minor unknowns85- 3: Some ambiguity, needs exploration86- 4: Significant unknowns, multiple approaches87- 5: Highly ambiguous, research needed8889### 4. Calculate Estimate9091Weighted score (max 60):92- Technical Complexity × 393- Codebase Familiarity × 294- Change Scope × 395- Testing Requirements × 296- Risk & Unknowns × 29798| Score % | Story Points | AI Time |99|---------|---|---|100| ≤ 20% | 1 | 10–30 min |101| ≤ 35% | 2 | 1–3 hours |102| ≤ 55% | 5 | 4–8 hours |103| ≤ 75% | 8 | 1–2 days |104| > 75% | 13 | 2–4 days |105106### 5. Report Format107108```markdown109## AI Estimate: ${input:ticketId}110111### Summary112- **Story Points**: X113- **Estimated AI Time**: Y114- **Confidence**: High / Medium / Low115- **Complexity Score**: X/60 (Y%)116117### Ticket118- **Title**: ...119- **Type**: Bug / Feature / Task120- **Acceptance Criteria**: ...121122### Codebase Analysis123- **Files to modify**: X identified124- **New files needed**: Y125- **Tests to update**: Z126127### Complexity Breakdown128- Technical: X/5 — [reason]129- Familiarity: X/5 — [reason]130- Scope: X/5 — [reason]131- Testing: X/5 — [reason]132- Risk: X/5 — [reason]133134### Implementation Approach1351. ...1362. ...137138### Assumptions & Risks139- ...140141### Recommendation142[Is this a good AI candidate? Any human oversight recommended?]143```144145## Special Cases146147- **Data-only changes** — Minimum 1 story point. AI is 10–50x faster; typically 10–30 minutes.148- **Research/spike tickets** — Add +2 story points, mark Low Confidence.149- **Bug fixes with unclear root cause** — Add +1 story point.150151## Adding the Estimate Back to Jira152153Add a comment to the ticket with the short estimate summary. Only update the Story Points field directly if it is editable and you can verify the change saved.154155## Common Mistakes156157- **Scoring before reading the ticket** — Complexity scores without reading the description are guesses. Always fetch the ticket first.158- **Ignoring the codebase** — Familiarity and Scope scores require actually searching the repo. Do not estimate blind.159- **Skipping the recommendation** — The most useful output is whether this is a good AI candidate. Always include it.160- **Overconfidence on ambiguous tickets** — If Acceptance Criteria are missing or vague, mark confidence as Low regardless of the score.