Agent skill
jira-sync
Syncs plan progress to a linked JIRA ticket. Posts plan contents, progress updates, branch links, and PR links at key milestones. Use this skill throughout the plan lifecycle to keep tickets in sync.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/jira-sync-codyswanngt-lisa-5
SKILL.md
JIRA Ticket Sync
Sync current plan progress to JIRA ticket: $ARGUMENTS
If no argument provided, search for a ticket URL in the active plan file (most recently modified .md in plans/).
Workflow
Step 1: Identify Ticket and Context
- Parse ticket ID from
$ARGUMENTSor extract from the active plan file - Fetch current ticket state via JIRA MCP (
mcp__atlassian__getJiraIssue) - Determine current milestone by checking:
- Does a plan file exist? → Plan created
- Is there a working branch? → Implementation started
- Are tasks in progress? → Active implementation
- Is there an open PR? → PR ready for review
- Is the PR merged? → Complete
Step 2: Gather Update Content
Based on the current milestone:
| Milestone | Content to Post |
|---|---|
| Plan created | Plan summary, branch name, link to PR (if draft exists) |
| Implementation in progress | Task completion summary (X of Y tasks done), any blockers |
| PR ready | PR link, summary of changes, test results |
| PR merged | Final summary, suggest moving ticket to "Done" |
Step 3: Post Update
- Add a comment to the ticket with the gathered content via JIRA MCP
- Update ticket fields if applicable:
- Add branch name to a custom field or comment
- Add PR link to a custom field or comment
- Report what was synced to the user
Step 4: Suggest Status Transition
Based on the milestone, suggest (but don't automatically perform) a status transition:
| Milestone | Suggested Status |
|---|---|
| Plan created | "In Progress" |
| PR ready | "In Review" |
| PR merged | "Done" |
Important Notes
- Never auto-transition ticket status — always suggest and let the user confirm
- Idempotent updates — running sync multiple times at the same milestone should not create duplicate comments
- Comment format — use JIRA markdown with clear headers and bullet points
Execution
Sync the ticket now.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?