/enterprise-collaboration-skills:jira-ticket-best-practices-and-workflowfrom enterprise-collaboration-skills
Guides writing well-formed Jira issues with clear titles, reproduction steps, acceptance criteria, correct types/priority/labels, and disciplined workflow transitions. Covers Jira REST API for programmatic ticket creation and updates.
Ships in enterprise-collaboration-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A Jira ticket is the unit of work that everyone downstream — the engineer who picks it up, the reviewer, the release manager, and whoever debugs a regression six months later — has to reconstruct intent from. A vague title, a missing reproduction case, or acceptance criteria that only exist in someone's head turns every handoff into a Slack thread or a meeting. This skill covers how to write a ticket that is actionable on its own, how to pick the issue type/priority/labels that make triage and reporting meaningful instead of noise, how to move a ticket through its workflow states honestly (not just to make a board look green), and how to do all of this programmatically against the Jira REST API when an agent is creating or updating issues on a user's behalf. It does not cover how to comment on or automate updates to an existing ticket (see jira-comments-and-tracking-automation) or how to document the resulting work in Confluence (see confluence-page-authoring-and-governance).
${JIRA_API_TOKEN}; never hardcode it.${JIRA_BASE_URL} (e.g. https://your-domain.atlassian.net
for Cloud; an internal hostname for Data Center)./rest/api/3/... and expects issue
descriptions/comments in Atlassian Document Format (ADF), a JSON
tree, not plain markdown. Data Center/Server on older versions may
still be on /rest/api/2/... with plain-text/wiki-markup bodies —
confirm the API version before assuming ADF is accepted.Pick the issue type deliberately. Bug = something that used to work, or should work per a spec, and doesn't. Story = user-facing increment of value. Task = internal work with no direct user-facing behavior change. Epic = a container for a body of related stories/ tasks, not a to-do list itself. Filing a regression as a "Task" hides it from defect-rate metrics; filing routine maintenance as a "Bug" inflates them. When unsure, ask "would this show up in a bug-count dashboard a manager reviews?" — if yes, it's a Bug.
Write a title that stands alone in a list of 200 other titles.
Format: [Component/Area] Symptom, not root cause. Bad: Fix bug.
Good: [Checkout API] 500 error when cart contains >50 line items.
The title should let someone triaging a backlog understand impact and
area without opening the ticket.
Structure the description by issue type:
As a <role>, I want <capability>, so that <benefit>) → Acceptance Criteria (checklist, testable,
unambiguous — "Given/When/Then" is fine) → Out of scope (explicit).Set priority from an impact × urgency rubric, not gut feel. e.g. Highest = production outage / data loss, no workaround. High = significant functionality broken, workaround exists. Medium = minor functionality issue, low user impact. Low = cosmetic/nice-to-have. Publish and reuse the same rubric across the project so "Highest" still means something after 500 tickets.
Set labels and components for future search, not decoration. Use
components for the owning subsystem/team (drives routing and reports);
use labels for cross-cutting attributes (customer-reported,
security, tech-debt, needs-design). Don't invent a new label
per ticket — check existing labels in the project first.
Link related work before it goes stale. Link a story to its epic
(fields.parent on creation, or the "Epic Link"/parent field
depending on project type — team-managed vs. company-managed projects
differ here). Use issue links (Blocks/Is blocked by, Relates to,
Duplicates) for cross-ticket dependencies so a blocked ticket isn't
silently worked on, and a duplicate isn't independently re-solved.
Move status honestly, not decoratively:
Create an issue via the REST API:
POST /rest/api/3/issue
Host: ${JIRA_BASE_URL}
Authorization: Basic base64(${JIRA_USER_EMAIL}:${JIRA_API_TOKEN})
Content-Type: application/json
{
"fields": {
"project": { "key": "CHK" },
"issuetype": { "name": "Bug" },
"summary": "[Checkout API] 500 error when cart contains >50 line items",
"priority": { "name": "High" },
"labels": ["customer-reported"],
"components": [{ "name": "checkout-api" }],
"description": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{ "type": "text", "text": "Steps to Reproduce: POST /cart/checkout with 51+ line items on staging." }
]
},
{
"type": "paragraph",
"content": [
{ "type": "text", "text": "Expected: 200 with order confirmation. Actual: 500, no response body." }
]
}
]
}
}
}
A successful response returns 201 Created with the new issue's
id, key, and self URL — capture the key (e.g. CHK-4821) for
linking and follow-up updates.
Transition an issue's status. First discover valid transitions (they are workflow- and current-status-specific, never hardcode an ID across projects):
GET /rest/api/3/issue/CHK-4821/transitions
Then post the chosen transition id from that response:
POST /rest/api/3/issue/CHK-4821/transitions
Content-Type: application/json
{ "transition": { "id": "31" } }
Link two issues:
POST /rest/api/3/issueLink
Content-Type: application/json
{
"type": { "name": "Blocks" },
"inwardIssue": { "key": "CHK-4821" },
"outwardIssue": { "key": "CHK-4790" }
}
Exact field names (inwardIssue/outwardIssue semantics, available
link type names) are configurable per Jira instance — confirm with
GET /rest/api/3/issueLinkType rather than assuming defaults.
201 response before looping —
a bad fields payload silently applied 200 times is expensive to
unwind.Blocks/Is blocked by) instead of relying on a mention in the description that
nobody re-checks once written.Symptom: A ticket is marked Done, but weeks later someone discovers the acceptance criteria were never actually met — only the PR was merged, not verified against the AC. Fix: Before transitioning to Done, re-read the AC checklist against the actual behavior (or ask the reporter to verify), not just confirm code review happened. If AC genuinely changed mid-flight, edit the ticket to reflect the new AC and note why, rather than closing against stale criteria.
Symptom: Tickets sit in "In Progress" for weeks with no comments,
no linked PR, and no one notices until a sprint retro — "stale WIP"
that quietly breaks cycle-time metrics and hides real status from
planning.
Fix: Only move to In Progress when work is actually starting
(not "assigned for later"), and run a periodic stale-ticket query
(e.g. JQL status = "In Progress" AND updated <= -7d) to surface and
triage them instead of letting the board silently lie.
Symptom: Every ticket in a project ends up Priority: Highest
within a few months, because there's no shared definition of what
priority means, so it stops being useful for triage.
Fix: Publish and enforce an impact × urgency rubric (see step 4)
and periodically audit priority distribution — a healthy backlog is
rarely more than 5-10% Highest.
Symptom: A bug is filed with just a title ("Checkout broken") and no reproduction steps; the assignee spends a day just trying to reproduce it, then bounces it back with "can't reproduce, need more info," losing a full cycle. Fix: Enforce reproduction steps + environment as a hard requirement before a bug leaves "To Do" — reject/return tickets missing them rather than letting them enter a sprint.
Symptom: A ticket is filed as a "Task" for what is actually a regression, so it never shows up in defect/quality dashboards, and the team under-reports its real bug rate. Fix: Use the issue-type test in step 1 consistently, and correct misclassified tickets when spotted rather than leaving them for "historical consistency."
Before — a ticket that generates more questions than it answers:
Title: login broken Description: Users can't log in sometimes. Please fix ASAP. Type: Task · Priority: Highest · Labels: (none)
This tells the assignee nothing: which login flow (password, SSO, mobile app)? What does "sometimes" mean — every user, a subset, a specific browser? Is there an error message? What's actually broken vs. "Task" (no user-facing regression) implies?
After — actionable on its own:
Title:
[Auth Service] SSO login fails with "invalid_grant" for users in EU regionType: Bug · Priority: High · Labels:customer-reportedComponents:auth-serviceSteps to Reproduce:
- Log in via SSO (Okta) from an account provisioned in the
eu-west-1tenant.- Complete the identity-provider redirect.
Expected: Redirect back to the app, authenticated session created. Actual: Auth service returns
400 invalid_grant; user is bounced back to the IdP login screen in a loop.Environment: Production,
auth-servicev2.14.0, EU tenant only — US tenant unaffected. Impact: ~120 EU users unable to log in since 2026-07-27 09:00 UTC. Logs: link toauth-serviceerror tracereq-id=a91f....
Creating this ticket via the REST API:
POST /rest/api/3/issue
Content-Type: application/json
Authorization: Basic base64(${JIRA_USER_EMAIL}:${JIRA_API_TOKEN})
{
"fields": {
"project": { "key": "AUTH" },
"issuetype": { "name": "Bug" },
"summary": "[Auth Service] SSO login fails with \"invalid_grant\" for users in EU region",
"priority": { "name": "High" },
"labels": ["customer-reported"],
"components": [{ "name": "auth-service" }]
}
}
Response (201 Created):
{
"id": "148213",
"key": "AUTH-2231",
"self": "${JIRA_BASE_URL}/rest/api/3/issue/148213"
}
Once a fix PR opens, transition AUTH-2231 from To Do to In Progress (after discovering the transition id via GET /rest/api/3/issue/AUTH-2231/transitions), and link it to the release
epic:
{
"type": { "name": "Relates" },
"inwardIssue": { "key": "AUTH-2231" },
"outwardIssue": { "key": "AUTH-100" }
}
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 skills in this plugin
/confluence-page-authoring-and-governanceGuides authoring well-structured Confluence pages (clear heading hierarchy, table of contents, templates for runbooks/design docs/ postmortems), organizing them within a space, keeping version/page history discipline, and labeling/linking for discoverability — plus the underlying Confluence REST API shape (`POST /wiki/rest/api/content`) for creating/updating pages programmatically. Use when the user asks to "create a Confluence page", "update a Confluence page", "document a runbook in Confluence", "write a design doc", "write a postmortem", "organize this space", or "why can't anyone find this page".
/jira-comments-and-tracking-automationGuides writing Jira comments that actually help the next reader (context, decision rationale, links to PRs/commits/deploys), deciding when to comment versus when to update a ticket field, and automating status/comment updates from CI/CD (e.g. posting a deploy notification comment on release) without producing comment spam — including the Jira REST API shape for posting comments programmatically (`POST /rest/api/3/issue/{issueIdOrKey}/comment`). Use when the user asks to "add a Jira comment", "post a deploy notification to the ticket", "document a decision on this issue", "automate ticket updates from the pipeline", or "why is this ticket full of noise".
npx claudepluginhub selvarajmurugesan90/ops-engineering-skills --plugin enterprise-collaboration-skillsOther plugins' skills for the same job