Update jira issue

From atomicinnovation/accelerator · View interactive version

Update jira issue is an AI agent skill from the GitHub repository atomicinnovation/accelerator. Use this skill only when the user explicitly invokes /update-jira-issue to modify an existing Jira issue. This is a write skill with irreversible side effects — it must never be auto-invoked from conversational context. Accepts an issue key and at least one mutating flag (summary, body, priority, as

How to use this skill

Skill file

Update Jira Issue

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

Update an existing Jira issue via PUT /rest/api/3/issue/{key}. Work through

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

user explicitly types /update-jira-issue.

This skill never synthesises --body content from upstream context (issue

descriptions, web fetches, prior tool output) without explicit user approval —

body content always comes from the user's prompt or a path the user named.

Step 1: Parse the flag set

The first positional argument is the issue key (e.g. ENG-42). Remaining flags

(at least one mutating flag is required):

refused, never resolved

--add-label/--remove-label)

label, preserving the others

--add-component/--remove-component)

for arrays/objects

Step 2: Trust-boundary enforcement

Before assembling --body, verify that any body content comes ONLY from text the

user typed in this turn or a file path the user explicitly named in this turn —

never a previously-fetched description, a web fetch, or a prior assistant

message. If the user's phrasing implies "use the fetched content", ask them to

paste or confirm the literal text first.

Step 3: Preview the resolved intent

Show, under Proposed Jira write — review before sending:

--label → "labels: REPLACE ALL to [...]"; --add-label/--remove-label →

"labels: ADD x, y; REMOVE z"; the same for components;

would replace the existing description with an empty document;

@me resolves through the cached site.json; --custom slugs resolve through

fields.json — both inside the subcommand, refused before any write if

unresolvable.

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 body); anything ambiguous aborts with "Aborted — no Jira write was

made."

Step 5: Send the request

accelerator jira update <KEY> [flags from Step 1]

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 updated\t<KEY> line. On the

updated keyword, confirm ✓ **<KEY>** updated. and suggest

/show-jira-issue <KEY> to verify.

On a non-zero exit no write was made; show the error, which names its cause on

stderr:

mixed with its incremental form; use one mode per field;

/init-jira --refresh-fields if a field id was rejected;

/init-jira;

accountId, not an email;

Examples

Example 1 — add a label without replacing others

User: /update-jira-issue ENG-42 --add-label needs-review

Skill previews "labels: ADD needs-review", confirms, updates.

Example 2 — unassign an issue

User: /update-jira-issue ENG-42 --assignee ""

Skill previews "assignee: (unassigned)", confirms, updates.

!accelerator config instructions update-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.