jira-ticket-viewer
21
总安装量
21
周安装量
#17750
全站排名
安装命令
npx skills add https://github.com/delexw/claude-code-misc --skill jira-ticket-viewer
Agent 安装分布
codex
21
opencode
20
github-copilot
20
gemini-cli
20
cursor
20
continue
19
Skill 文档
Jira Ticket Viewer
Fetch and display Jira ticket details using the jira CLI tool.
Arguments
$ARGUMENTS[0]â Jira issue key (e.g.PROJ-123)$ARGUMENTS[1]â (optional) Base directory for all temp assets (raw JSON, attachments, parsed output). Defaults to.implement-assets/jira
When invoked by the orchestrator (e.g. implement), $ARGUMENTS[1] is provided. When used standalone, it defaults to .implement-assets/jira.
System Requirements
jiraCLI installed and configured (https://github.com/ankitpokhrel/jira-cli)
Execution
- Pre-flight check: Run
jira meto verify the CLI is installed and authenticated â if it fails, follow error handling in references/rules.md. Do NOT continue untiljira mesucceeds. - Validate
$ARGUMENTS[0]against references/rules.md - Fetch raw JSON (single API call): Run
mkdir -p $ARGUMENTS[1] && jira issue view $ARGUMENTS[0] --raw > $ARGUMENTS[1]/raw.jsonvia Bash - Parse ticket: Run
node ./scripts/parse-ticket.js < $ARGUMENTS[1]/raw.json > $ARGUMENTS[1]/output.jsonvia Bash to get the parsed JSON output - Interpret comments: If the parsed JSON contains a non-empty
commentsarray, analyze them following references/comment-rules.md. Replace thecommentsarray in the JSON with acommentSummaryobject, then save the updated JSON back to$ARGUMENTS[1]/output.jsonusing the Write tool. - Attachments: If the parsed JSON contains a non-empty
attachmentsarray, download them:- Run
node ./scripts/download-attachment.js --out $ARGUMENTS[1] < $ARGUMENTS[1]/raw.jsonvia Bash - If
JIRA_API_TOKENis not set, follow error handling in references/rules.md - Include downloaded attachment file paths in the output
- Run
- Return the parsed JSON output (see references/output-format.md for schema reference), including attachment download paths if any