Transition jira issue

From atomicinnovation/accelerator · View interactive version

Transition jira issue is an AI agent skill from the GitHub repository atomicinnovation/accelerator. Use this skill only when the user explicitly invokes /transition-jira-issue to move a Jira issue through its workflow by state name. This is a write skill with irreversible side effects — it must never be auto-invoked from conversational context. Accepts an issue key and target state name (case-inse

How to use this skill

Skill file

Transition Jira Issue

!accelerator config context --skill transition-jira-issue --fail-safe

Transition a Jira issue through its workflow by state name. Work through the

steps below in order. This skill never auto-invokes — it only runs when the

user explicitly types /transition-jira-issue.

Step 1: Parse flags

Required positional: KEY (issue key, e.g. ENG-42).

State target — exactly one required, mutually exclusive:

(case-insensitive match against the issue's available transitions)

Optional flags:

Step 2: Trust-boundary enforcement (only with `--comment`/`--comment-file`)

If the user supplied --comment or --comment-file, verify the body content

comes ONLY from text the user typed in this turn or a file path they explicitly

named this turn — never a previously-fetched description or comment, a web

fetch, or a prior assistant message. If their phrasing implies "copy from

above", ask them to paste or confirm the literal text first.

Step 3: Preview the resolved intent

Show, under Proposed Jira write — review before sending:

<ID>");

The state name is resolved to a transition inside the subcommand against the

issue's live workflow — there is no separate lookup call to make here.

Step 4: Confirm before writing

Ask the user:

Send this to Jira? Reply y to confirm, n to revise, anything else to

abort.

A clear y/yes proceeds; a n/revise stays in review (re-apply Step 2 to any

revised comment); anything ambiguous aborts with "Aborted — no Jira write was

made."

Step 5: Send the request

accelerator jira transition <KEY> "<STATE_NAME>" [flags]

Run the bare launcher directly as an executable; never prefix it with

bash/sh/env and never pipe its output.

Step 6: Render the response

The subcommand prints its outcome as a trailing transitioned\t<KEY> line. On

the transitioned keyword, confirm `✓ <KEY> transitioned to

"<STATE_NAME>". (or, for a --transition-id run, "transition <ID>` applied").

On a non-zero exit, show the error:

issue's workflow does not offer it from its current state;

--transition-id <ID>, reading the id from the issue's workflow in Jira;

/init-jira.

Examples

Example 1 — simple state transition

User: /transition-jira-issue ENG-42 "In Progress"

Skill previews <KEY> → "In Progress", waits for y, transitions, confirms.

Example 2 — transition with resolution

User: /transition-jira-issue ENG-42 "Done" --resolution "Fixed"

Skill previews the move plus resolution "Fixed", confirms, transitions.

!accelerator config instructions transition-jira-issue --fail-safe

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.