| name | Issue Orchestration |
| description | Use when orchestrating a Jira issue through the full development lifecycle to Harness PR with branching, commits, and documentation |
| version | 1.0.0 |
Issue Orchestration Skill
Orchestrate the complete development workflow from a Jira issue to a merged Harness pull request.
When to Activate
This skill activates when:
- User wants to implement a Jira issue
- User asks to create a branch/PR from an issue
- User wants to orchestrate development workflow
- User mentions working on a Jira ticket (e.g., "PROJ-123")
- User asks to automate issue-to-PR pipeline
Orchestration Pipeline
Phase 1: Issue Analysis
Fetch Issue Details via Atlassian MCP:
mcp__atlassian__jira_get_issue(issue_key)Extract Key Information:
- Issue type (Story, Task, Bug, Epic)
- Summary and description
- Acceptance criteria
- Priority and labels
- Linked issues and dependencies
- Assignee and reporter
Assess Complexity:
- Simple: Single change, clear scope
- Medium: Multiple files, some complexity
- Complex: Requires subtasks, multiple components
Phase 2: Planning
Generate Branch Name:
Pattern: {type}/{issue-key}-{slug} Example: feature/PROJ-123-add-user-authenticationCreate Subtasks (if complex):
- Break down into implementation steps
- Create subtasks in Jira via MCP
- Link subtasks to parent issue
Plan Commits:
- Map subtasks to commits
- Define commit message format:
{type}({scope}): {description} {body} Refs: {issue-key}
Phase 3: Branch Creation
Create Branch via Harness API:
POST /repos/{repo}/branches { "name": "feature/PROJ-123-description", "target": "main" }Update Jira Issue:
- Add branch link to issue
- Transition to "In Progress"
- Add comment with branch details
Phase 4: Implementation
For Each Subtask/Change:
- Make code changes
- Create commit with proper message
- Reference Jira issue in commit
Commit Format:
feat(auth): implement user login endpoint - Add POST /api/auth/login endpoint - Implement JWT token generation - Add password validation Refs: PROJ-123 Subtask: PROJ-124Push Changes to Harness
Phase 5: Pull Request
Create PR via Harness API:
POST /repos/{repo}/pullreq { "title": "[PROJ-123] Add user authentication", "source_branch": "feature/PROJ-123-add-user-authentication", "target_branch": "main", "description": "..." }PR Description Template:
## Summary {issue_summary} ## Jira Issue [{issue_key}]({jira_url}) ## Changes - {change_1} - {change_2} ## Testing - [ ] Unit tests added - [ ] Integration tests pass - [ ] Manual testing completed ## Documentation - [ ] README updated - [ ] API docs updated - [ ] Confluence page createdAdd Reviewers:
- Assign code owners
- Request reviews via Harness API
Phase 6: Documentation
Generate Confluence Page via Atlassian MCP:
mcp__atlassian__confluence_create_page(space, title, content)Document Template:
- Feature overview
- Technical implementation
- API changes
- Testing notes
- Deployment considerations
Link Documentation:
- Add Confluence link to Jira issue
- Add Confluence link to PR description
Phase 7: Review & Sync
Trigger Agent Review:
- Invoke code-agent for implementation review
- Invoke review-agent for quality check
- Invoke doc-agent for documentation review
Post Review Comments:
- Add findings to PR
- Add summary to Jira issue
Sync Status:
- Update Jira based on PR state
- Track review progress
MCP Tools Required
Atlassian MCP
mcp__atlassian__jira_get_issue- Fetch issue detailsmcp__atlassian__jira_create_issue- Create subtasksmcp__atlassian__jira_update_issue- Update issue fieldsmcp__atlassian__jira_add_comment- Add commentsmcp__atlassian__jira_transition- Change issue statusmcp__atlassian__confluence_create_page- Create docsmcp__atlassian__confluence_update_page- Update docs
Harness MCP
mcp__harness__create_branch- Create feature branchmcp__harness__create_commit- Commit changesmcp__harness__create_pullreq- Create PRmcp__harness__add_reviewer- Add PR reviewersmcp__harness__add_comment- Comment on PRmcp__harness__get_pullreq- Get PR status
Status Mapping
| Jira Status | Harness PR State | Action |
|---|---|---|
| To Do | - | Create branch |
| In Progress | Open | Active development |
| In Review | Open + Reviewers | Awaiting review |
| Done | Merged | Complete |
| Blocked | Open + Blocked label | Needs attention |
Example Workflow
User Input:
Implement PROJ-123
Orchestration Steps:
- ✅ Fetched issue: "Add user authentication"
- ✅ Complexity: Medium (3 components)
- ✅ Created subtasks: PROJ-124, PROJ-125, PROJ-126
- ✅ Created branch: feature/PROJ-123-add-user-authentication
- ✅ Transitioned issue to "In Progress"
- 🔄 Implementing subtask PROJ-124...
- ✅ Committed: feat(auth): add login endpoint
- ✅ Implementing subtask PROJ-125...
- ✅ Committed: feat(auth): add JWT validation
- ✅ Created PR #45
- ✅ Added reviewers: @alice, @bob
- ✅ Created Confluence page: "User Authentication Feature"
- ✅ Triggered agent council review
- ✅ All agents approved
Result: PR #45 ready for human review. Jira issue updated with all links.