From atlassian-tools
Reference guide for Atlassian CLI (acli) commands. Use when running acli commands for JQL queries, ticket transitions, comments, or workflow operations, or when the user asks about Jira CLI syntax.
How this skill is triggered — by the user, by Claude, or both
Slash command
/atlassian-tools:jira-cliThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```bash
acli jira workitem search --jql "project = <PROJECT> AND assignee = currentUser() AND resolution = Unresolved"
acli jira workitem search --jql "project = <PROJECT>" --fields "key,status,summary"
acli jira workitem search --jql "project = <PROJECT>" --limit 50 --paginate
acli jira workitem search --jql "project = <PROJECT>" --count
Output flags: --json, --csv, --web
status = 'Some Status'!= with backslash - use NOT status = 'Done' insteadcurrentUser(), now(), startOfDay(), endOfWeek()statusCategory = Done, statusCategory = 'In Progress'AND, OR, NOT, IN, IS, IS NOT, ~ (contains), ORDER BYproject = <PROJECT> AND assignee = currentUser() AND resolution = Unresolved
project = <PROJECT> AND status = '<status-name>'
project = <PROJECT> AND statusCategory = 'In Progress'
project = <PROJECT> AND updated >= -7d ORDER BY updated DESC
project = <PROJECT> AND Sprint = '<sprint-name>'
project = <PROJECT> AND component = <component>
acli jira workitem view <KEY>
acli jira workitem view <KEY> --fields "summary,description,status,comment"
acli jira workitem view <KEY> --fields "*all" --json
Field values: *all (all fields), *navigable (navigable fields), -fieldname (exclude field)
acli jira workitem comment create --key <KEY> --body "Comment text"
acli jira workitem comment create --key <KEY> --body-file comment.txt
acli jira workitem comment create --jql "project = <PROJECT> AND labels = needs-review" --body "Reviewed"
acli jira workitem comment list --key <KEY>
acli jira workitem comment create --key <KEY> --edit-last --body "Updated comment"
acli jira workitem comment create --key <KEY> --editor
Jira Cloud uses ADF (JSON-based). Plain \n newlines don't create paragraph breaks.
acli limitations: Headings, text marks (bold/italic/code), and code block syntax highlighting are rejected or stripped.
Supported: Paragraphs, bullet/ordered lists, code blocks (no highlighting).
{"version":1,"type":"doc","content":[{"type":"paragraph","content":[{"type":"text","text":"Your text"}]}]}
{"version":1,"type":"doc","content":[{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Item one"}]}]}]}]}
{"version":1,"type":"doc","content":[{"type":"codeBlock","attrs":{"language":"python"},"content":[{"type":"text","text":"def hello():\n print('Hello')"}]}]}
acli jira workitem comment create --key <KEY> --body '{"version":1,"type":"doc","content":[...]}'
acli jira workitem comment create --key <KEY> --body-file comment.json
acli jira workitem transition --key <KEY> --status "Done"
acli jira workitem transition --key "<KEY1>,<KEY2>" --status "<status>"
acli jira workitem transition --jql "project = <PROJECT> AND labels = ready" --status "Done" --yes
acli jira workitem transition --filter 10001 --status "Done"
acli jira workitem edit --key <KEY> --summary "New title"
acli jira workitem edit --key <KEY> --description "New description"
acli jira workitem edit --key <KEY> --description-file desc.txt
acli jira workitem edit --key <KEY> --assignee "[email protected]" # or "@me" or "default"
acli jira workitem edit --key <KEY> --remove-assignee
acli jira workitem edit --key <KEY> --labels "bug,urgent"
acli jira workitem edit --key <KEY> --remove-labels "wontfix"
acli jira workitem edit --key <KEY> --type "Bug"
acli jira workitem edit --jql "project = <PROJECT> AND labels = old" --labels "new" --yes
acli jira workitem edit --from-json workitem.json
acli jira workitem edit --generate-json
# Attachments
acli jira workitem attachment list --key <KEY>
acli jira workitem attachment delete --key <KEY> --attachment-id 12345
# Links
acli jira workitem link create --key <KEY> --link-type "blocks" --outward-key <OTHER-KEY>
acli jira workitem link list-types
# Watchers
acli jira workitem watcher add --key <KEY> --user "[email protected]"
acli jira workitem watcher remove --key <KEY> --user "[email protected]"
# Misc
acli jira workitem clone --key <KEY>
acli jira workitem archive --key <KEY>
acli jira workitem unarchive --key <KEY>
acli jira workitem delete --key <KEY>
acli jira project list --recent
acli jira project view --key <PROJECT>
acli jira project view --key <PROJECT> --json
| Flag | Short | Description |
|---|---|---|
--key | -k | Ticket key(s), comma-separated |
--jql | -j | JQL query string |
--filter | Saved filter ID | |
--json | Output as JSON | |
--csv | Output as CSV | |
--web | -w | Open in browser |
--yes | -y | Skip confirmation prompts |
--limit | -l | Maximum results |
--paginate | Fetch all results | |
--fields | -f | Fields to include |
--ignore-errors | Continue on errors |
When reviewing ticket status against codebase:
acli jira workitem search --jql "assignee = currentUser() AND resolution = Unresolved" --fields "key,status,summary"git log --oneline --grep="<KEY>"Transition syntax: acli jira workitem transition --key <KEY> --status "<target-status>"
Common workflow patterns vary by organization. Consult your team's workflow documentation for valid status transitions.
# Add same comment to multiple tickets
acli jira workitem comment create --key "<KEY1>,<KEY2>,<KEY3>" --body "Batch update: <message>"
# Transition multiple tickets
acli jira workitem transition --key "<KEY1>,<KEY2>" --status "Done" --yes
--ignore-errors to continue when some operations fail--web to debug by viewing in Jira UInpx claudepluginhub znorris/claude-marketplace --plugin atlassian-toolsReferences Atlassian CLI (acli) commands for Jira: authenticate, create/view/edit issues, JQL searches, bulk operations, project/board/sprint management.
Interacts with Jira issues via CLI scripts: search, create, update, transition, comment, log work, manage sprints/boards/attachments/links. Auto-triggers on Jira URLs and issue keys.
Manages Jira Cloud issues via jira CLI with JSON output: create, view, update, search issues, fetch hierarchies, manage sprints.