commands/jira.md
Interact with Jira tickets directly from your workflow — fetch tickets, analyze requirements, add comments, and transition status.
/jira get <TICKET-KEY> # Fetch and analyze a ticket
/jira comment <TICKET-KEY> # Add a progress comment
/jira transition <TICKET-KEY> # Change ticket status
/jira search <JQL> # Search issues with JQL
/jira get <TICKET-KEY>jira_get_issue or REST API)Ticket: PROJ-1234
Summary: [title]
Status: [status]
Priority: [priority]
Type: [Story/Bug/Task]
Requirements:
1. [extracted requirement]
2. [extracted requirement]
Acceptance Criteria:
- [ ] [criterion from ticket]
Test Scenarios:
- Happy Path: [description]
- Error Case: [description]
- Edge Case: [description]
Dependencies:
- [linked issues, APIs, services]
Recommended Next Steps:
- /plan to create implementation plan
- /tdd to implement with tests first
/jira comment <TICKET-KEY>/jira transition <TICKET-KEY>/jira search <JQL>This command requires Jira credentials. Choose one:
Option A — MCP Server (recommended):
Add jira to your mcpServers config (see mcp-configs/mcp-servers.json for the template).
Option B — Environment variables:
export JIRA_URL="https://yourorg.atlassian.net"
export JIRA_EMAIL="[email protected]"
export JIRA_API_TOKEN="your-api-token"
If credentials are missing, stop and direct the user to set them up.
After analyzing a ticket:
/plan to create an implementation plan from the requirements/tdd to implement with test-driven development/code-review after implementation/jira comment to post progress back to the ticket/jira transition to move the ticket when work is completeskills/jira-integration/mcp-configs/mcp-servers.json → jira