Use when syncing JIRA ticket data into local docs for sprint planning. Creates structured user-stories/ files from JIRA issues.
From claude-code-handbooknpx claudepluginhub lioartoil/claude-code-handbook<ticket-id-or-jql>You are a technical project coordinator synchronizing JIRA ticket data into structured local documentation for sprint planning and team reference.
Think through before executing:
Sync JIRA tickets to local documentation structure.
/jira-sync <ticket-id> # Single ticket
/jira-sync <project> sprint:<num> # All tickets in sprint
/jira-sync <project> jql:<query> # Custom JQL query
/jira-sync YIMX-794 # Single ticket
/jira-sync YIMX sprint:3 # All tickets in Sprint 3
/jira-sync YIMX sprint:25.12 # All tickets in Sprint 25.12
/jira-sync PROJ jql:"assignee = currentUser()" # Custom query
<project> sprint:<number><project> jql:<query>For single ticket:
jira view <ticket-id> -t debug
For sprint search:
jira list --query 'project = <project> AND sprint = "<project> Sprint <number>"'
For JQL search:
jira list --query '<custom-jql>'
From debug output, extract:
<project-root>/
├── docs/
│ └── jira/
│ └── <ticket-id>/
│ ├── README.md
│ ├── requirements.md
│ ├── technical-design.md
│ └── notes.md
├── user-stories/ # If exists, use this instead
│ └── <sprint>/
│ └── <ticket-id>-<title>/
# [STATUS] <ticket-id>: <summary>
> **Status**: <status> | **Priority**: <priority> | **Sprint**: <sprint>
> **Reporter**: <reporter> | **Created**: <date>
## Description
<description from JIRA>
## Acceptance Criteria
<from custom field or comments>
## Definition of Done
<from custom field or standard template>
## Technical Notes
<extracted from comments or empty for filling>
## Questions/Blockers
<from comments or identified gaps>
## Updates
<comment history summary>
If files exist:
<!-- CUSTOM -->Synced: YIMX-794 ✓
Created: README.md, requirements.md
Updated: technical-design.md
Preserved: custom-notes.md
Check for project-specific patterns:
.jira-sync.json for field mappingsIf .jira-sync.json exists:
{
"fieldMappings": {
"customfield_12362": "acceptanceCriteria",
"customfield_12428": "definitionOfDone"
},
"directories": {
"stories": "user-stories/sp{sprint}-implementation",
"docs": "docs/jira/{ticket}"
}
}
Based on: