with one click
with one click
| name | jira-work |
| description | Query and manage Jira work items using the acli command line tool |
Use the Atlassian CLI (acli) to query and manage Jira work items.
The CCPLAT board uses the following statuses (in rough workflow order):
Important: Not all transitions are direct. Some statuses require stepping through intermediate states. For example, transitioning from "In Progress" to "Prod" requires going through "Ready for Deployment" first. When the user says "ready for prod", use "Ready for Deployment".
acli jira workitem search --jql "assignee = currentUser() AND sprint in openSprints()" --paginate
This finds all items across all boards. Use this by default.
acli jira board list-sprints --id <board-id> --state active
acli jira sprint list-workitems --board <board-id> --sprint <sprint-id> --paginate
acli jira board search --type scrum
acli jira board search --project <PROJECT_KEY>
acli jira workitem view <ISSUE-KEY>
acli jira workitem view <ISSUE-KEY> --json
acli jira workitem search --jql "<jql-query>" --paginate
Useful JQL fragments:
assignee = currentUser() - items assigned to the usersprint in openSprints() - items in active sprintsstatus = "In Progress" - filter by statusproject = CCPLAT - filter by projectacli jira workitem transition --key "<ISSUE-KEY>" --status "<status>" --yes
Multiple keys can be comma-separated:
acli jira workitem transition --key "KEY-1,KEY-2" --status "Done" --yes
Note: If a transition fails with "No allowed transitions found", you need to step through intermediate statuses. For example, "In Progress" -> "Ready for Deployment" -> "Prod".
acli jira workitem comment create --key "<ISSUE-KEY>" --body "Comment text"
acli jira workitem link create --out <BLOCKER-KEY> --in <BLOCKED-KEY> --type <link-type> --yes
Available link types include: Blocks, Cloners, Contains, Depends, Duplicate, Relates, and others.
Example (A blocks B):
acli jira workitem link create --out CCPLAT-100 --in CCPLAT-200 --type Blocks --yes
acli jira workitem link list --key <ISSUE-KEY>
acli jira workitem link type
Limitation: acli does not support moving work items to sprints. There is no
--sprint flag on create or edit, and no sprint move-workitem subcommand.
Workaround: Use the Atlassian MCP (atlassian_editJiraIssue) to set the sprint
field. The sprint field is customfield_10020 and takes a sprint ID.
atlassian_editJiraIssue(
cloudId: "dnb-asa.atlassian.net",
issueIdOrKey: "<ISSUE-KEY>",
fields: { "customfield_10020": {"id": <sprint-id>} }
)
To find the active sprint ID, use acli jira board list-sprints --id 91 --state active.
Important: Prefer acli for all standard operations (search, transitions,
comments, links) to minimize context usage. Only fall back to the Atlassian MCP
tools when acli cannot accomplish the task (e.g., sprint assignment, field
updates on custom fields).
Append --json for JSON or --csv for CSV output to any search or list command.
currentUser() and openSprints()--yes flag to skip confirmation promptsThis skill is designed to be used as an OpenCode subagent (jira-work). When invoked, execute the
requested Jira operation(s) and return a concise summary of results or actions taken. Do not continue
the conversation — complete the task and report back.
[HINT] Download the complete skill directory including SKILL.md and all related files