Mode: Cognitive/Prompt-Driven - No standalone utility script; use via agent context.
Required:
- JIRA_URL - Base URL of your Jira instance (e.g., https://yourcompany.atlassian.net)
- JIRA_API_TOKEN - API token for authentication (generate at Jira Account Settings -> Security -> API Tokens)
- JIRA_USER_EMAIL - Email address associated with the API token
Optional:
- JIRA_DEFAULT_PROJECT - Default project key for operations (e.g., PROJ)
- JIRA_API_VERSION - API version (default: 3)
Issues
| Tool |
Description |
Confirmation Required |
| search |
Search issues using JQL |
No |
| get-issue |
Get detailed issue information |
No |
| create-issue |
Create a new issue |
Yes |
| update-issue |
Update existing issue fields |
Yes |
| transition |
Change issue status/workflow state |
Yes |
Projects
| Tool |
Description |
| list-projects |
List all accessible projects |
| project-info |
Get detailed project information |
Sprints
| Tool |
Description |
| active-sprint |
Get currently active sprint for a board |
| sprint-issues |
List all issues in a specific sprint |
Comments
| Tool |
Description |
| get-comments |
Retrieve all comments on an issue |
| add-comment |
Add a comment to an issue |
Common Workflows
Issue Creation: List projects -> Get project info -> Create issue -> Add comment
Sprint Management: Get active sprint -> List sprint issues -> Update issue status -> Add comments
Issue Search: Use JQL for targeted searches -> Retrieve issue details -> Update issues
Primary Agent: planner
- Use Case: Project backlog management, sprint planning, requirement tracking
- Common Operations: Create issues, update priorities, manage sprints
Secondary Agent: developer
- Use Case: Issue tracking during development, status updates
- Common Operations: Search assigned issues, transition issues, add comments
Common Error Scenarios
- Authentication Errors: Missing or invalid API token, expired credentials, insufficient permissions
- Rate Limiting: Too many API requests in short period, implement exponential backoff
- Invalid Inputs: Non-existent project keys, invalid issue types, invalid transition IDs
- Network Errors: Connection timeouts, unreachable Jira instance
- Use JQL Efficiently: Craft precise JQL queries to reduce result sets and API calls
- Cache Metadata: Store project keys, issue types, and transitions locally
- Verify Before Create: Always verify project and issue type before creating issues
- Use Transitions: Respect workflow states when changing issue status
- Batch Operations: Group related API calls when possible
- Handle Errors Gracefully: Provide clear error messages and recovery suggestions
- Respect Rate Limits: Implement backoff strategies for high-volume operations
Context Optimization
- Lazy Loading: Only load issue details when explicitly requested
- Field Selection: Request only necessary fields from Jira API
- Caching: Store frequently accessed metadata (projects, issue types)
- Streaming: Not supported - all responses are complete payloads
- Pagination: Automatically handle large result sets
Context Savings: 90%+ compared to loading full Jira MCP server
Jira REST API Endpoints Used
- /rest/api/3/search - JQL search
- /rest/api/3/issue/{issueKey} - Get/update issue
- /rest/api/3/issue - Create issue
- /rest/api/3/issue/{issueKey}/transitions - Transition issue
- /rest/api/3/project - List projects
- /rest/api/3/project/{projectKey} - Get project details
- /rest/agile/1.0/board/{boardId}/sprint - Get sprints
- /rest/agile/1.0/sprint/{sprintId}/issue - Get sprint issues
- /rest/api/3/issue/{issueKey}/comment - Get/add comments
See https://developer.atlassian.com/cloud/jira/platform/rest/v3/ for full reference.
Iron Laws
- ALWAYS verify the project key exists before creating an issue — Jira silently ignores invalid project keys in some API versions, creating orphaned issues or returning cryptic errors.
- NEVER use
PUT /issue to change status — Jira status changes must go through valid workflow transitions via POST /issue/{key}/transitions; direct field updates bypass workflow validators and automation rules.
- ALWAYS use JQL for issue searches rather than fetching all issues and filtering client-side — returning all issues wastes quota and causes timeouts on projects with thousands of tickets.
- NEVER create duplicate issues without first searching for existing ones — duplicate tickets fragment tracking, confuse assignees, and produce misleading velocity metrics.
- ALWAYS include
summary, issuetype, and project fields when creating an issue — these three fields are the minimum required by Jira Cloud REST API v3; missing any produces a 400 error.
Anti-Patterns
| Anti-Pattern |
Why It Fails |
Correct Approach |
| Updating status via field PUT |
Bypasses workflow guards; invalid state transitions succeed silently; automation rules don't fire |
Use POST /issue/{key}/transitions with the correct transition ID |
| Fetching all issues and filtering locally |
Times out on large projects; wastes API quota; slow for paginated results |
Always use JQL with specific project/sprint/status filters |
| Creating issues without duplication check |
Splits work tracking; team sees multiple tickets for same task |
Search with JQL (project = X AND summary ~ "keyword") before creating |
Hardcoding field IDs (e.g., customfield_10016) |
Field IDs differ between Jira instances and cloud/server; breaks across projects |
Discover field IDs dynamically via /rest/api/3/field endpoint |
| No error handling for rate limits (429) |
Jira Cloud rate limits at ~300 requests/minute; unhandled 429 crashes automation |
Implement exponential backoff; check Retry-After header on 429 responses |
Memory Protocol (MANDATORY)
Before starting:
Read .claude/context/memory/learnings.md
After completing:
- New pattern -> .claude/context/memory/learnings.md
- Issue found -> .claude/context/memory/issues.md
- Decision made -> .claude/context/memory/decisions.md
ASSUME INTERRUPTION: If it is not in memory, it did not happen.
1---2name: jira-pm3description: Jira project management and issue tracking integration4version: 1.1.05category: 'Other'6agents: [planner, developer]7tags: [jira, project-management, tickets, agile, sprint]8model: sonnet9invoked_by: both10user_invocable: true11tools: [Bash, Read, WebFetch]12best_practices:13 - Use JQL (Jira Query Language) for precise issue searches14 - Verify project keys before creating issues15 - Use transitions to change issue status through valid workflows16 - Cache project metadata to reduce API calls17error_handling: graceful18streaming: not_supported19verified: true20lastVerifiedAt: 2026-02-22T00:00:00.000Z21source: builtin22trust_score: 10023provenance_sha: a029de1d8ebed1f124metadata:25 source: https://skillmd.com/skills/oimiragieo/jira-pm26---2728**Mode: Cognitive/Prompt-Driven** - No standalone utility script; use via agent context.2930<identity>31Jira PM (Project Management) - Provides integration with Atlassian Jira for issue tracking, project management, and workflow automation. Enables 90%+ context savings over direct MCP integration.32</identity>3334<capabilities>35- Issue management: search, create, update, transition36- Project discovery and metadata retrieval37- Sprint management and issue tracking38- Comment management on issues39- JQL-based advanced queries40</capabilities>4142<requirements>43## Environment Variables4445Required:4647- JIRA_URL - Base URL of your Jira instance (e.g., <https://yourcompany.atlassian.net>)48- JIRA_API_TOKEN - API token for authentication (generate at Jira Account Settings -> Security -> API Tokens)49- JIRA_USER_EMAIL - Email address associated with the API token5051Optional:5253- JIRA_DEFAULT_PROJECT - Default project key for operations (e.g., PROJ)54- JIRA_API_VERSION - API version (default: 3)55 </requirements>5657<instructions>58<execution_process>591. Authentication: All requests use Basic Auth with JIRA_USER_EMAIL and JIRA_API_TOKEN602. Progressive Disclosure: Load only necessary issue fields to minimize API calls613. Validation: Verify project keys and issue keys before operations624. Error Handling: Gracefully handle rate limits, authentication errors, and invalid inputs63</execution_process>6465<tool_categories>6667## Issues6869| Tool | Description | Confirmation Required |70| ------------ | ---------------------------------- | --------------------- |71| search | Search issues using JQL | No |72| get-issue | Get detailed issue information | No |73| create-issue | Create a new issue | Yes |74| update-issue | Update existing issue fields | Yes |75| transition | Change issue status/workflow state | Yes |7677## Projects7879| Tool | Description |80| ------------- | -------------------------------- |81| list-projects | List all accessible projects |82| project-info | Get detailed project information |8384## Sprints8586| Tool | Description |87| ------------- | --------------------------------------- |88| active-sprint | Get currently active sprint for a board |89| sprint-issues | List all issues in a specific sprint |9091## Comments9293| Tool | Description |94| ------------ | --------------------------------- |95| get-comments | Retrieve all comments on an issue |96| add-comment | Add a comment to an issue |9798</tool_categories>99100<usage_patterns>101102## Common Workflows103104**Issue Creation**: List projects -> Get project info -> Create issue -> Add comment105106**Sprint Management**: Get active sprint -> List sprint issues -> Update issue status -> Add comments107108**Issue Search**: Use JQL for targeted searches -> Retrieve issue details -> Update issues109110</usage_patterns>111112<agent_integration>113114## Primary Agent: planner115116- Use Case: Project backlog management, sprint planning, requirement tracking117- Common Operations: Create issues, update priorities, manage sprints118119## Secondary Agent: developer120121- Use Case: Issue tracking during development, status updates122- Common Operations: Search assigned issues, transition issues, add comments123124</agent_integration>125126<error_handling>127128## Common Error Scenarios129130- Authentication Errors: Missing or invalid API token, expired credentials, insufficient permissions131- Rate Limiting: Too many API requests in short period, implement exponential backoff132- Invalid Inputs: Non-existent project keys, invalid issue types, invalid transition IDs133- Network Errors: Connection timeouts, unreachable Jira instance134135</error_handling>136137<best_practices>1381391. Use JQL Efficiently: Craft precise JQL queries to reduce result sets and API calls1402. Cache Metadata: Store project keys, issue types, and transitions locally1413. Verify Before Create: Always verify project and issue type before creating issues1424. Use Transitions: Respect workflow states when changing issue status1435. Batch Operations: Group related API calls when possible1446. Handle Errors Gracefully: Provide clear error messages and recovery suggestions1457. Respect Rate Limits: Implement backoff strategies for high-volume operations146147</best_practices>148</instructions>149150<progressive_disclosure>151152## Context Optimization1531541. Lazy Loading: Only load issue details when explicitly requested1552. Field Selection: Request only necessary fields from Jira API1563. Caching: Store frequently accessed metadata (projects, issue types)1574. Streaming: Not supported - all responses are complete payloads1585. Pagination: Automatically handle large result sets159160Context Savings: 90%+ compared to loading full Jira MCP server161</progressive_disclosure>162163<api_reference>164165## Jira REST API Endpoints Used166167- /rest/api/3/search - JQL search168- /rest/api/3/issue/{issueKey} - Get/update issue169- /rest/api/3/issue - Create issue170- /rest/api/3/issue/{issueKey}/transitions - Transition issue171- /rest/api/3/project - List projects172- /rest/api/3/project/{projectKey} - Get project details173- /rest/agile/1.0/board/{boardId}/sprint - Get sprints174- /rest/agile/1.0/sprint/{sprintId}/issue - Get sprint issues175- /rest/api/3/issue/{issueKey}/comment - Get/add comments176177See <https://developer.atlassian.com/cloud/jira/platform/rest/v3/> for full reference.178</api_reference>179180## Iron Laws1811821. **ALWAYS** verify the project key exists before creating an issue — Jira silently ignores invalid project keys in some API versions, creating orphaned issues or returning cryptic errors.1832. **NEVER** use `PUT /issue` to change status — Jira status changes must go through valid workflow transitions via `POST /issue/{key}/transitions`; direct field updates bypass workflow validators and automation rules.1843. **ALWAYS** use JQL for issue searches rather than fetching all issues and filtering client-side — returning all issues wastes quota and causes timeouts on projects with thousands of tickets.1854. **NEVER** create duplicate issues without first searching for existing ones — duplicate tickets fragment tracking, confuse assignees, and produce misleading velocity metrics.1865. **ALWAYS** include `summary`, `issuetype`, and `project` fields when creating an issue — these three fields are the minimum required by Jira Cloud REST API v3; missing any produces a 400 error.187188## Anti-Patterns189190| Anti-Pattern | Why It Fails | Correct Approach |191| ------------------------------------------------ | ------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |192| Updating status via field PUT | Bypasses workflow guards; invalid state transitions succeed silently; automation rules don't fire | Use `POST /issue/{key}/transitions` with the correct transition ID |193| Fetching all issues and filtering locally | Times out on large projects; wastes API quota; slow for paginated results | Always use JQL with specific project/sprint/status filters |194| Creating issues without duplication check | Splits work tracking; team sees multiple tickets for same task | Search with JQL (`project = X AND summary ~ "keyword"`) before creating |195| Hardcoding field IDs (e.g., `customfield_10016`) | Field IDs differ between Jira instances and cloud/server; breaks across projects | Discover field IDs dynamically via `/rest/api/3/field` endpoint |196| No error handling for rate limits (429) | Jira Cloud rate limits at ~300 requests/minute; unhandled 429 crashes automation | Implement exponential backoff; check `Retry-After` header on 429 responses |197198## Memory Protocol (MANDATORY)199200**Before starting:**201Read .claude/context/memory/learnings.md202203**After completing:**204205- New pattern -> .claude/context/memory/learnings.md206- Issue found -> .claude/context/memory/issues.md207- Decision made -> .claude/context/memory/decisions.md208209> ASSUME INTERRUPTION: If it is not in memory, it did not happen.