plugins/src/base/skills/jira-read-ticket/SKILL.md
Fetches the full scope of a JIRA ticket — metadata, description, acceptance criteria, all comments, remote links (PRs, Confluence, dashboards), issue links (blocks/is blocked by/relates to/duplicates/clones), epic parent with siblings, and subtasks. Produces a consolidated context bundle that downstream agents consume so they never act on a single ticket in isolation.
npx skillsauth add codyswanngt/lisa jira-read-ticketInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
Security scan pending...
This skill is queued for security scanning. Results will appear when the scan completes.
All Atlassian operations in this skill go through lisa:atlassian-access. Do not call MCP tools or acli directly.
Fetch the full scope of the ticket AND its related graph. Downstream agents must never act on a ticket in isolation — always call this skill first so they see blockers, epic siblings, linked PRs, and historical comments.
Repository name for scoped comments and logs: basename $(git rev-parse --show-toplevel).
lisa:atlassian-access via the Skill tool with operation: list-sites to confirm the configured site is reachable and resolve the cloud ID.PROJ-123), stop and report. Do NOT guess.Invoke lisa:atlassian-access via the Skill tool with operation: read-ticket key: <TICKET-KEY> for the target ticket. The access layer MUST request an explicit full JIRA field set for this operation (acli jira workitem view --fields '*all', REST fields=*all, or an equivalent substrate-specific field list). Do not accept or re-use a default acli workitem view payload; its default six-field response omits parent, components, labels, priority, and custom fields, which makes leaf-only, relationship-search, build-ready, and required-custom-field gates read false-empty data. Extract and preserve:
id, filename, mimeType, size, and content URL for each. Do not download unless a downstream task needs the bytes (see "Downloading attachments" below).The Atlassian MCP exposes attachment metadata but no binary-fetch tool (JRACLOUD-97830, ECO-1265). Fetch attachment bytes only when a downstream task explicitly needs them — e.g., a design-fidelity check on an image, log-file analysis, PDF text extraction. For everything else, keep the URL reference and move on.
bash .claude/skills/jira-read-ticket/scripts/download-attachment.sh <id-or-content-url> <output-path>
Requires JIRA_SERVER, JIRA_LOGIN, and JIRA_API_TOKEN in the environment (same contract as jira-evidence). If those are not set the helper exits with code 2 and a clear remediation message — record the URL only and continue.
After download, branch on mimeType:
image/* — pass the local path to image-aware downstream toolstext/*, application/json, application/xml, application/x-yaml — read inline as textapplication/pdf — extract text via downstream tooling if neededFetch ALL comments in chronological order. Do not truncate. For each:
[repo-name]The primary ticket payload returned by lisa:atlassian-access operation: read-ticket includes the issue's remote links. If the substrate returns remote links separately, request them via lisa:atlassian-access with operation: read-ticket key: <K> (the operation MUST return remote links — extend atlassian-access if it doesn't). For each remote link:
github.com/.../(pull|commit)/...): run gh pr view <url> --json title,state,body,mergedAt,reviewDecision,comments,reviews (for PRs) or gh api repos/<owner>/<repo>/commits/<sha> (for commits). Capture title, state, body, unresolved review comments, merge status.If gh is not authenticated, note "gh auth required" and continue — do not abort.
Every linked ticket must be fetched. Do not skip any link type. For each link in the primary ticket's issuelinks field, group by type:
blocks / is blocked byrelates toduplicates / is duplicated byclones / is cloned byFor each linked ticket, invoke lisa:atlassian-access with operation: read-ticket key: <LINKED-KEY> and capture:
Won't Do/Duplicate — then summary only)blocks or is blocked by)Special handling for is blocked by: fetch the full PR/commit details via gh for each blocker's remote links so the agent knows whether the blocker is actually shipped.
If the primary ticket has an epic parent (or IS an epic):
lisa:atlassian-access operation: read-ticket key: <EPIC-KEY> — full description, acceptance criteria, all comments, Validation Journey."Epic Link" = <EPIC-KEY> AND key != <TICKET-KEY>
Invoke lisa:atlassian-access with operation: search-issues jql: "<above-JQL>". For each sibling capture: key, summary, type, status, assignee, priority.In Progress or In Review with an assignee different from the current ticket, flag it prominently.If the primary ticket IS an epic, also fetch all children via the JQL above.
If the primary ticket has subtasks, fetch each via lisa:atlassian-access operation: read-ticket key: <SUBTASK-KEY>: key, summary, type, status, assignee, description (first paragraph), acceptance criteria.
Produce a single structured output that the caller can pass verbatim to downstream agents. Use this format:
# Ticket Context: <KEY>
## Primary Ticket
- Key: <KEY>
- Type: <type>
- Status: <status>
- Priority: <priority>
- Assignee: <name>
- Epic: <epic-key> — <epic-summary>
- Sprint: <sprint>
- Labels: <labels>
- Components: <components>
### Description
<full description>
### Acceptance Criteria
<criteria>
### Validation Journey
<section or "None">
### Comments (<count>)
<chronological comments, flagged items called out>
### Attachments
<list with id, filename, mimeType, size, content URL — note any that were downloaded and their local paths>
## Remote Links
### Pull Requests (<count>)
- <url> — <title> — <state> — <reviewDecision>
<body summary + unresolved review comments>
### Confluence
- <title> — <url>
### Other
- <title> — <url>
## Issue Links
### Blocks (<count>)
<per-ticket block>
### Is Blocked By (<count>)
<per-ticket block with PR state>
### Relates To (<count>)
<per-ticket block>
### Duplicates / Clones
<per-ticket block>
## Epic Context
### Epic <EPIC-KEY> — <summary>
- Status: <status>
- Description: <full>
- Comments: <chronological>
- Validation Journey: <section or None>
### Siblings In-Flight (<count>)
- <KEY> — <status> — <assignee> — <summary> **[FLAG: in progress by other assignee]**
### Other Siblings (<count>)
- <KEY> — <status> — <summary>
## Subtasks (<count>)
- <KEY> — <status> — <assignee> — <summary>
## Summary for Downstream
- Full ticket count pulled: <N>
- Blockers still open: <list>
- Related in-flight work: <list>
- Relevant PRs: <list with state>
tools
--- name: harper-realtime description: This skill should be used when adding or troubleshooting Harper (HarperDB/Fabric) real-time behavior: MQTT topics, WebSocket resource subscriptions, resource publish/subscribe handlers, SSE-style streaming routes, and local subscriber verification. Pairs with harper-resources, harper-config-yaml, harper-schema-graphql, and harper-build-and-deploy. --- # Harper Realtime ## Overview Harper exposes live data through the same Resource model used for REST and
tools
--- name: harper-realtime description: This skill should be used when adding or troubleshooting Harper (HarperDB/Fabric) real-time behavior: MQTT topics, WebSocket resource subscriptions, resource publish/subscribe handlers, SSE-style streaming routes, and local subscriber verification. Pairs with harper-resources, harper-config-yaml, harper-schema-graphql, and harper-build-and-deploy. --- # Harper Realtime ## Overview Harper exposes live data through the same Resource model used for REST and
tools
--- name: harper-realtime description: This skill should be used when adding or troubleshooting Harper (HarperDB/Fabric) real-time behavior: MQTT topics, WebSocket resource subscriptions, resource publish/subscribe handlers, SSE-style streaming routes, and local subscriber verification. Pairs with harper-resources, harper-config-yaml, harper-schema-graphql, and harper-build-and-deploy. --- # Harper Realtime ## Overview Harper exposes live data through the same Resource model used for REST and
tools
--- name: harper-realtime description: This skill should be used when adding or troubleshooting Harper (HarperDB/Fabric) real-time behavior: MQTT topics, WebSocket resource subscriptions, resource publish/subscribe handlers, SSE-style streaming routes, and local subscriber verification. Pairs with harper-resources, harper-config-yaml, harper-schema-graphql, and harper-build-and-deploy. --- # Harper Realtime ## Overview Harper exposes live data through the same Resource model used for REST and