external/ag-shared/prompts/skills/jira/SKILL.md
Unified skill for creating, estimating, and analysing JIRA tickets across AG products.
Before doing anything else, verify the Atlassian MCP is available by calling mcp__atlassian__atlassianUserInfo. If the tool is not available, returns an error, or the MCP server is not connected:
Hard stop. Output the following and do not proceed:
Cannot proceed — Atlassian MCP is not connected.
This skill requires the Atlassian MCP server to interact with JIRA.
Please ensure the MCP connection is configured and active, then retry.
Do not attempt to work around the missing connection or produce partial results.
Detect the product from the repository context:
ag-charts-community — read products/charts.mdag-grid-community — read products/grid.mdag-studio-core or with project key ST — read products/studio.mdRead the appropriate product file before proceeding with any workflow.
Based on user intent, read the corresponding workflow file (in the workflows/ subdirectory of this skill):
| Intent | Keywords | Workflow |
|---|---|---|
| Plan | In plan mode, drafting a plan that includes JIRA ticket creation | workflows/plan.md |
| Create | "create a JIRA", "file a bug", "write up a ticket", "log this issue" | workflows/create.md |
| Estimate | "estimate", "size", "analyse complexity", "how long", "effort" | workflows/estimate.md |
| Analyse | "analyse this issue", "product analysis", "UX analysis", "propose solutions" | workflows/analyze.md |
Read the workflow file, then follow its instructions.
All API calls use: 1565837d-d6d1-4228-bcb2-4cb74df700f2
| Field | API Name | Format |
|---|---|---|
| Project | projectKey | "AG" (or "ST" for Studio) |
| Type | issueTypeName | "Bug" or "Task" |
| Summary | summary | "[Product] Title" (prefix from product file) |
| Description | description | See templates |
| Component | components | From product file |
| Track | customfield_10501 | See track values below |
customfield_10501)| Value | ID | Use For |
|---|---|---|
| Bug | 10401 | Bug fixes |
| Feature Request | 10400 | New features |
| Improvement | 10403 | Enhancements |
| Housekeeping | 10404 | Tech-debt, refactoring |
| Doc change | 10402 | Documentation updates |
Format: [{"value": "Bug"}] or [{"id": "10401"}]
Each ticket has exactly one track value. Never set multiple track values on a single ticket.
1. Item (not # wiki markup). 1. Sub-item.**text**.[text](url) markdown links.N/A.mcp__atlassian__createIssueLink to create links after ticket creation.templates/feature-task.md (12-section numbered format)templates/bug.md (TC-based format)Follow the exact structure from the template. Do not use free-form markdown headers (##), tables, or code blocks for top-level structure.
Discovering required fields: Use mcp__atlassian__getJiraIssueTypeMetaWithFields with cloudId, projectIdOrKey: 'AG', issueTypeId: '10105' (Task).
Common errors:
customfield_10501 and/or components array.141 after creation.in_kanban label: Managed automatically — never add to labels field.