Jira Orchestration Workflow
Execute 6-phase protocol for coordinating Jira-based development work with multi-agent orchestration.
When to Use
- Starting work on Jira issues (Bug, Story, Task, Epic)
- Automating development workflows
- Tracking progress and linking commits/PRs
- Coordinating multi-agent work
The 6-Phase Protocol
EXPLORE → PLAN → CODE → TEST → FIX → COMMIT
Each phase must complete validation gates before proceeding.
Phase 1: EXPLORE
- Fetch issue details, acceptance criteria, linked issues
- Analyze affected codebase areas and dependencies
- Agents: requirements-analyzer, dependency-mapper
- Outputs: Issue analysis, affected files, dependency map, risk assessment
- Jira: Transition to "In Progress", add analysis comment, log effort
Phase 2: PLAN
- Design solution, break into subtasks, create task DAG
- Plan file changes, define success criteria
- Agents (by type): Bug→triage-agent; Story→requirements-analyzer; Task→task-enricher; Epic→epic-decomposer
- Outputs: Implementation plan, test plan, rollback strategy
- Jira: Create sub-tasks, add plan comment, update estimate
Phase 3: CODE
- Execute DAG tasks in parallel
- Implement changes, add docs and error handling
- Agents (by tech): Frontend→requirements-analyzer; Backend→requirements-analyzer; DevOps→infrastructure-orchestrator
- Outputs: Code changes, configs, migration scripts
- Jira: Add progress comments, log time spent, flag blockers
Phase 4: TEST
- Run unit/integration/E2E tests, verify acceptance criteria
- Agents: test-strategist, qa-ticket-reviewer, test-strategist
- Outputs: Test results, coverage, performance metrics
- Jira: Add test results, attach reports
- Failure: Return to FIX, do NOT complete issue
Phase 5: FIX
- Debug failures, address code review feedback
- Re-run tests until passing (max 3 iterations before escalation)
- Agents: hypothesis-debugger, review-orchestrator, code-quality-enforcer
- Loop: Return to TEST after fixes
Phase 6: COMMIT
- Create PR with issue key, link to Jira, request review
- Format:
[ISSUE-KEY] description\n\nResolves: ISSUE-KEY
- Agents: commit-orchestrator, pr-creator, documentation-hub
- Jira: Add PR link, transition to "In Review"
Agent Selection
| Issue Type |
Primary |
Secondary |
| Bug |
triage-agent, hypothesis-debugger |
root-cause-analyzer, test-strategist |
| Story |
requirements-analyzer, code-architect |
requirements-analyzer |
| Task |
task-enricher |
technology-specific |
| Epic |
epic-decomposer |
split into stories first |
| Spike |
requirements-analyzer, requirements-analyzer |
domain experts |
By Technology: Frontend→react-specialist; Backend→api-specialist; DevOps→infrastructure-orchestrator; Mobile→mobile-developer
By Priority: Blocker→triage-agent + escalate; Critical→senior agents + extended thinking; High→standard selection; Medium/Low→optimize for efficiency
Blocker Handling
Mark blocker when: Missing requirements, dependencies, technical limits, security concerns, breaking changes.
Immediate: Add "Blocked" label, create detailed comment, link blocking issue, notify stakeholders.
Escalate when: Persists >4 hours, beyond agent authority, security vulnerability, breaking changes, customer impact, legal/compliance questions.
Process: Pause, document context, create Jira comment, tag humans, transition to "Waiting for Support".
Human Involvement
Always required: Security changes, breaking API/DB changes, infrastructure, customer-facing features, compliance.
Optional (post-review): Bug fixes, docs, tests, refactoring.
Progress Tracking
Update Jira at: Phase transitions, blockers, test failures, PR creation, hourly.
Status format:
## Progress - Phase: [NAME]
- Completed: [items]
- In Progress: [items] (X%)
- Blocked: [items] ([reason])
- Next: [steps]
- Time Spent: Xh Ym
Metrics: Velocity (story points/sprint), Cycle Time (In Progress→Done), Lead Time (creation→completion), Work Log (time/phase).
Best Practices
- Never skip phases (critical validations at each)
- Checkpoint between phases for recovery
- Run independent tasks in parallel
- Use 3-5 agents minimum, 13 maximum
- Frequent Jira updates: comments, work logs, links, labels, components
- Quality gates: All tests passing, >80% coverage, no vulnerabilities, docs updated, human review
Workflows by Issue Type
Bug: EXPLORE (reproduce)→PLAN (fix design)→CODE→TEST (add regression)→FIX→COMMIT
Story: EXPLORE→PLAN (subtasks)→CODE (parallel)→TEST (E2E)→FIX→COMMIT
Epic: Decompose into Stories, execute each Story workflow, integrate results
PR/Commit Format
PR Title: [ISSUE-KEY] Brief description
Commit:
[ISSUE-KEY] description
Changes:
- item1
- item2
Resolves: ISSUE-KEY
Branch: [type]/[issue-key]-[description] (e.g., feature/PROJ-123-auth)
Smart commits: [ISSUE-KEY] #comment text | #time 2h 30m | #transition In Review
Quality Gates
Example: Bug Fix
Issue: PROJ-123 "Login timeout after 5 minutes"
| Phase |
Activity |
Agents |
| EXPLORE |
Analyze auth code, identify JWT expiry |
requirements-analyzer, security-specialist |
| PLAN |
Design fix: extend expiry, fix cleanup |
triage-agent |
| CODE |
Update JWT config, implement refresh |
requirements-analyzer, security-specialist |
| TEST |
Unit/integration/manual tests |
test-strategist, qa-ticket-reviewer |
| FIX |
No fixes needed |
- |
| COMMIT |
Create PR, link to PROJ-123 |
commit-orchestrator |
Integration
Works with: jira (API), git-workflows (branches/PRs), orchestration-patterns (agent coordination), testing (test execution), debugging (root cause analysis).
1---
2name: jira-orchestration-workflow
3description: This skill should be used when the user asks to "orchestrate jira", "work on issue", "complete jira ticket", "development workflow", "jira automation", "issue lifecycle", "work on story", "fix bug ticket", or needs guidance on coordinating development work through Jira with multi-agent orchestration patterns.
4version: 1.0.0
5---
6
7# Jira Orchestration Workflow
8
9Execute 6-phase protocol for coordinating Jira-based development work with multi-agent orchestration.
10
11## When to Use
12
13- Starting work on Jira issues (Bug, Story, Task, Epic)
14- Automating development workflows
15- Tracking progress and linking commits/PRs
16- Coordinating multi-agent work
17
18## The 6-Phase Protocol
19
20**EXPLORE → PLAN → CODE → TEST → FIX → COMMIT**
21
22Each phase must complete validation gates before proceeding.
23
24### Phase 1: EXPLORE
25- Fetch issue details, acceptance criteria, linked issues
26- Analyze affected codebase areas and dependencies
27- Agents: requirements-analyzer, dependency-mapper
28- Outputs: Issue analysis, affected files, dependency map, risk assessment
29- Jira: Transition to "In Progress", add analysis comment, log effort
30
31### Phase 2: PLAN
32- Design solution, break into subtasks, create task DAG
33- Plan file changes, define success criteria
34- Agents (by type): Bug→triage-agent; Story→requirements-analyzer; Task→task-enricher; Epic→epic-decomposer
35- Outputs: Implementation plan, test plan, rollback strategy
36- Jira: Create sub-tasks, add plan comment, update estimate
37
38### Phase 3: CODE
39- Execute DAG tasks in parallel
40- Implement changes, add docs and error handling
41- Agents (by tech): Frontend→requirements-analyzer; Backend→requirements-analyzer; DevOps→infrastructure-orchestrator
42- Outputs: Code changes, configs, migration scripts
43- Jira: Add progress comments, log time spent, flag blockers
44
45### Phase 4: TEST
46- Run unit/integration/E2E tests, verify acceptance criteria
47- Agents: test-strategist, qa-ticket-reviewer, test-strategist
48- Outputs: Test results, coverage, performance metrics
49- Jira: Add test results, attach reports
50- Failure: Return to FIX, do NOT complete issue
51
52### Phase 5: FIX
53- Debug failures, address code review feedback
54- Re-run tests until passing (max 3 iterations before escalation)
55- Agents: hypothesis-debugger, review-orchestrator, code-quality-enforcer
56- Loop: Return to TEST after fixes
57
58### Phase 6: COMMIT
59- Create PR with issue key, link to Jira, request review
60- Format: `[ISSUE-KEY] description\n\nResolves: ISSUE-KEY`
61- Agents: commit-orchestrator, pr-creator, documentation-hub
62- Jira: Add PR link, transition to "In Review"
63
64## Agent Selection
65
66| Issue Type | Primary | Secondary |
67|-----------|---------|-----------|
68| Bug | triage-agent, hypothesis-debugger | root-cause-analyzer, test-strategist |
69| Story | requirements-analyzer, code-architect | requirements-analyzer |
70| Task | task-enricher | technology-specific |
71| Epic | epic-decomposer | split into stories first |
72| Spike | requirements-analyzer, requirements-analyzer | domain experts |
73
74By Technology: Frontend→react-specialist; Backend→api-specialist; DevOps→infrastructure-orchestrator; Mobile→mobile-developer
75
76By Priority: Blocker→triage-agent + escalate; Critical→senior agents + extended thinking; High→standard selection; Medium/Low→optimize for efficiency
77
78## Blocker Handling
79
80**Mark blocker when:** Missing requirements, dependencies, technical limits, security concerns, breaking changes.
81
82**Immediate:** Add "Blocked" label, create detailed comment, link blocking issue, notify stakeholders.
83
84**Escalate when:** Persists >4 hours, beyond agent authority, security vulnerability, breaking changes, customer impact, legal/compliance questions.
85
86**Process:** Pause, document context, create Jira comment, tag humans, transition to "Waiting for Support".
87
88## Human Involvement
89
90**Always required:** Security changes, breaking API/DB changes, infrastructure, customer-facing features, compliance.
91
92**Optional (post-review):** Bug fixes, docs, tests, refactoring.
93
94## Progress Tracking
95
96**Update Jira at:** Phase transitions, blockers, test failures, PR creation, hourly.
97
98**Status format:**
99```
100## Progress - Phase: [NAME]
101- Completed: [items]
102- In Progress: [items] (X%)
103- Blocked: [items] ([reason])
104- Next: [steps]
105- Time Spent: Xh Ym
106```
107
108**Metrics:** Velocity (story points/sprint), Cycle Time (In Progress→Done), Lead Time (creation→completion), Work Log (time/phase).
109
110## Best Practices
111
112- Never skip phases (critical validations at each)
113- Checkpoint between phases for recovery
114- Run independent tasks in parallel
115- Use 3-5 agents minimum, 13 maximum
116- Frequent Jira updates: comments, work logs, links, labels, components
117- Quality gates: All tests passing, >80% coverage, no vulnerabilities, docs updated, human review
118
119## Workflows by Issue Type
120
121**Bug:** EXPLORE (reproduce)→PLAN (fix design)→CODE→TEST (add regression)→FIX→COMMIT
122**Story:** EXPLORE→PLAN (subtasks)→CODE (parallel)→TEST (E2E)→FIX→COMMIT
123**Epic:** Decompose into Stories, execute each Story workflow, integrate results
124
125## PR/Commit Format
126
127**PR Title:** `[ISSUE-KEY] Brief description`
128
129**Commit:**
130```
131[ISSUE-KEY] description
132
133Changes:
134- item1
135- item2
136
137Resolves: ISSUE-KEY
138```
139
140**Branch:** `[type]/[issue-key]-[description]` (e.g., feature/PROJ-123-auth)
141
142**Smart commits:** `[ISSUE-KEY] #comment text` | `#time 2h 30m` | `#transition In Review`
143
144## Quality Gates
145
146- [ ] All tests passing (unit, integration, E2E)
147- [ ] Coverage >80%
148- [ ] No security vulnerabilities
149- [ ] No breaking changes (or documented)
150- [ ] Documentation updated
151- [ ] PR created and linked
152- [ ] Human review requested
153- [ ] Acceptance criteria met
154
155## Example: Bug Fix
156
157**Issue:** PROJ-123 "Login timeout after 5 minutes"
158
159| Phase | Activity | Agents |
160|-------|----------|--------|
161| EXPLORE | Analyze auth code, identify JWT expiry | requirements-analyzer, security-specialist |
162| PLAN | Design fix: extend expiry, fix cleanup | triage-agent |
163| CODE | Update JWT config, implement refresh | requirements-analyzer, security-specialist |
164| TEST | Unit/integration/manual tests | test-strategist, qa-ticket-reviewer |
165| FIX | No fixes needed | - |
166| COMMIT | Create PR, link to PROJ-123 | commit-orchestrator |
167
168## Integration
169
170Works with: jira (API), git-workflows (branches/PRs), orchestration-patterns (agent coordination), testing (test execution), debugging (root cause analysis).