Create, edit, view, transition, assign, or comment on Jira work items using the Atlassian CLI. Use when the user wants to manage Jira issues from the terminal.
Manage Jira work items via the Atlassian CLI (acli).
Parse $ARGUMENTS to identify the action and any supplied details (key, summary, project, etc.). If the action is unclear, ask the user what they want to do.
Supported actions: create, edit, view, transition, assign, comment.
Required: --summary, --project, --type.
acli jira workitem create --summary "<summary>" --project "<PROJECT_KEY>" --type "<Task|Bug|Story|Epic>"
Optional flags:
--assignee "<email|@me>" — assign immediately--description "<text>" — add a description--label "<label1,label2>" — add labels--parent "<PARENT-KEY>" — set parent (for subtasks)--from-file "<file>" — read summary/description from file--from-json "<file>" — read full definition from JSON--json — output result as JSONIf the user doesn't provide project or type, ask them.
acli jira workitem view <KEY> [--fields "<field1,field2>"] [--json] [--web]
Default fields: key,issuetype,summary,status,assignee,description. Use --fields "*all" for everything.
acli jira workitem edit --key "<KEY-1,KEY-2>" [--summary "<new>"] [--description "<new>"] [--assignee "<email>"] [--labels "<new>"] [--type "<new>"] [--yes]
Can also target by JQL (--jql) or filter (--filter).
acli jira workitem transition --key "<KEY>" --status "<status>"
Common statuses: To Do, In Progress, Done. Add --yes to skip confirmation.
Can also target by JQL (--jql) or filter (--filter).
acli jira workitem assign --key "<KEY>" --assignee "<email|@me|default>"
Use --remove-assignee to unassign. Can target by JQL (--jql) or filter (--filter).
acli jira workitem comment create --key "<KEY>" --body "<comment text>"
Alternative: --body-file "<file>" to read comment from a file.
create, highlight the new work item key.view, present the fields in a readable format.