description: Start work on a Jira ticket โ fetch details via Atlassian MCP, create branch, plan implementation, set up todos. Use /jira PROJ-123 to begin.
arguments:
๐ Ticket: PROJ-123 - Add User Authentication
๐ท๏ธ Type: Story | Priority: High
๐ฟ Branch: feat/PROJ-123-add-user-authentication
๐ Summary:
<brief description of what needs to be done>
โ Acceptance Criteria:
- [ ] Criterion 1
- [ ] Criterion 2
๐ Implementation Plan:
1. First step
2. Second step
3. ...
๐ Ready to start! What would you like to tackle first?
Error Handling
If ticket not found: Report error and verify the ticket key
If not in a git repo: Skip branch creation, continue with planning
If Atlassian MCP unavailable: Ask user to provide ticket details manually
Notes
Always confirm the branch name before creating
Link commits back to the ticket using the ticket key in commit messages
Consider adding the ticket key to PR titles when ready
---
description: Start work on a Jira ticket โ fetch details via Atlassian MCP, create branch, plan implementation, set up todos. Use /jira PROJ-123 to begin.
arguments:
- name: ticket
description: Jira ticket key (e.g., PROJ-123)
required: true
---
# Jira Ticket WorkflowYou are helping the user start work on a Jira ticket. Follow this workflow:
## Step 1: Fetch Ticket DetailsUse the Atlassian MCP to get the ticket information:
```
mcp_atlassian_getIssue issueIdOrKey: "<ticket_key>"
```
Extract and present:
- **Summary**: The ticket title
- **Description**: Full description
- **Type**: Bug, Story, Task, etc.
- **Priority**: High, Medium, Low
- **Status**: Current status
- **Labels/Components**: Any relevant tags
- **Acceptance Criteria**: If present in description
## Step 2: Create Git BranchBased on the ticket type and summary, create an appropriately named branch:
| Ticket Type | Branch Prefix |
|-------------|---------------|
| Bug | `fix/` |
| Story/Task | `feat/` |
| Improvement | `improve/` |
| Hotfix | `hotfix/` |
Branch naming convention: `<prefix>/<ticket-key>-<slugified-summary>`
Example: `feat/PROJ-123-add-user-authentication`
Use the git-branch skill to create the branch:
```
Use the git-branch skill to create branch: <branch-name>
```
## Step 3: Analyze & Plan1. **Understand the requirements** - Parse the description and acceptance criteria
2. **Identify affected areas** - What files/components will likely need changes
3. **Create implementation plan** - Break down into actionable steps
## Step 4: Set Up Todo ListUse the todowrite tool to create a structured todo list based on the ticket:
```json{
"todos": [
{"content": "Understand ticket requirements", "status": "completed", "priority": "high"},
{"content": "Create implementation plan", "status": "in_progress", "priority": "high"},
{"content": "<specific task from plan>", "status": "pending", "priority": "medium"},
...
]
}
```
## Step 5: Summary ReportProvide a concise summary:
```
๐ Ticket: PROJ-123 - Add User Authentication
๐ท๏ธ Type: Story | Priority: High
๐ฟ Branch: feat/PROJ-123-add-user-authentication
๐ Summary:
<brief description of what needs to be done>
โ Acceptance Criteria:
- [ ] Criterion 1
- [ ] Criterion 2
๐ Implementation Plan:
1. First step
2. Second step
3. ...
๐ Ready to start! What would you like to tackle first?
```
## Error Handling- If ticket not found: Report error and verify the ticket key
- If not in a git repo: Skip branch creation, continue with planning
- If Atlassian MCP unavailable: Ask user to provide ticket details manually
## Notes- Always confirm the branch name before creating
- Link commits back to the ticket using the ticket key in commit messages
- Consider adding the ticket key to PR titles when ready