Jira API operations via Python CLI scripts...
CLI scripts via uv run, all supporting --help, --json, --quiet, --debug.
On Jira URL or issue key (PROJ-123), pick by intent โ each is one call:
| Intent | Tool |
|---|---|
| triage / work on ticket | jira-issue.py work KEY |
| start QA review | jira-issue.py qa KEY |
| QA-fail follow-up | jira-issue.py qa-fail KEY |
| field-only lookup | jira-issue.py get KEY --fields ... |
| change status | jira-issue.py act KEY โ jira-transition.py do |
| audit / sibling discovery | jira-qa-gather.py KEY |
Auth issues โ jira-setup.py. Anti-pattern: get + comment list โ use the matching verb.
Under ${CLAUDE_SKILL_DIR}/scripts/{core,workflow,utility}/.
Core: jira-issue.py, jira-search.py, jira-worklog.py, jira-attachment.py, jira-setup.py, jira-validate.py
Workflow: jira-create.py, jira-transition.py, jira-comment.py, jira-move.py, jira-sprint.py, jira-board.py, jira-version.py, tempo-account.py
Utility: jira-user.py, jira-fields.py, jira-link.py, jira-weblink.py, jira-worklog-query.py, jira-watchers.py, jira-qa-gather.py
Run directly. Scripts report โ/โ. Destructive ops: --dry-run. Global flags before subcommand: jira-issue.py --json get PROJ-123.
Every --comment and --description option that writes wiki markup runs three gates before the write, all on by default, because text that renders wrong is silent โ the API returns 2xx either way. That is all seven: jira-comment.py add/edit, jira-transition.py do --comment, jira-transition.py path --comment, jira-worklog.py add --comment, and the --description of jira-create.py issue and jira-issue.py update. A body smuggled in through --fields-json is not gated โ that option writes raw fields by design. jira-version.py writes two --description fields that are NOT gated (create and update); whether Jira renders a version description as wiki markup at all is unverified, and its help string claiming it does may simply be wrong.
\- prints as a plain hyphen, so the posted text reads as written; stderr names how many lines changed and shows the first five. (The one shape where the escape is visible is two macros written against each other with no space โ the dash can land inside a link target. Ordinary prose does not reach it.) --no-auto-escape keeps the markup verbatim โ but on its own it does not post a deliberate -strikethrough-: the lint and the render check each still refuse the span. Use --no-auto-escape --force for that.{code}, {noformat}, {quote}, {panel} are block-level), unbalanced tag counts, and German prose on an English-only project each abort the write. --force turns the findings into warnings and posts anyway.--no-preflight skips it; an unreachable renderer warns once and posts anyway.--force posts despite any of the three. The flags are spelled the same on each command. All seven also take --dry-run: the escape and the lint still run โ the preview shows the text a real write would post โ while the render call and the write do not. See references/comments.md for the details.
uv run ${CLAUDE_SKILL_DIR}/scripts/core/jira-issue.py get PROJ-123
uv run ${CLAUDE_SKILL_DIR}/scripts/core/jira-search.py query "assignee = currentUser() AND status != Closed" -n 5 -f key,summary,status
uv run ${CLAUDE_SKILL_DIR}/scripts/core/jira-issue.py update PROJ-123 --assignee me --priority Critical
uv run ${CLAUDE_SKILL_DIR}/scripts/workflow/jira-comment.py add PROJ-123 "Comment text"
uv run ${CLAUDE_SKILL_DIR}/scripts/workflow/jira-comment.py add PROJ-123 "Comment text" --no-auto-escape --force # deliberate -strikethrough-
uv run ${CLAUDE_SKILL_DIR}/scripts/workflow/jira-transition.py do PROJ-123 "In Progress"
uv run ${CLAUDE_SKILL_DIR}/scripts/core/jira-worklog.py add PROJ-123 2h --comment "Work done"
uv run ${CLAUDE_SKILL_DIR}/scripts/workflow/jira-create.py issue PROJ "Summary" --type Task
Transitions:
listshows each transition's id and what its screen requires; pass the id todoโ a name or a target status is not always unique, and an ambiguous one is refused rather than guessed. Terminal transitions: pass--resolution <value>(Done,Won't do); if rejected ("cannot be set"), retry without it โreferences/intent-verbs.md. Versions: readreferences/versions.mdbeforejira-version.py. Mentions: posting commands verify[~username](miss โ suggestions);get/workprint usernames (references/fields-and-users.md).
jira-syntax: descriptions/comments use Jira wiki markup, not Markdown.
State what happened, not how good it is โ references/no-editorializing.md.
references/jql-quick-reference.md, references/jql-cookbook.mdreferences/multi-profile.md โ --profilereferences/troubleshooting.md โ auth, 401/403references/issue-editing.md โ edit, delete, clear fields, --fields-jsonreferences/creation.md โ create, --parent, fields, admin-scope (project, tempo-account.py)references/comments.md โ edit, delete, lint, body via -references/worklog.md โ --started, ranges, --tempo-account, deletereferences/attachments.md โ upload, downloadreferences/links.md โ linksreferences/agile.md โ sprints/boardsreferences/no-editorializing.md โ no self-praisereferences/fields-and-users.md โ custom field IDs, users, issue typesreferences/watchers.md โ watch, subscribe, list watchersreferences/versions.md โ fix/affects versions, releases, version CRUDreferences/qa-gather.md โ audit bundle (siblings, prose URLs)references/intent-verbs.md โ work / qa / qa-fail / act, exact transition namesCloud: JIRA_URL + JIRA_USERNAME + JIRA_API_TOKEN. Server/DC: JIRA_URL + JIRA_PERSONAL_TOKEN. Config via ~/.env.jira or ~/.jira/profiles.json.