agentleFS
aholbreichaholbreich/agent-skills/skills/jira-update/SKILL.md

jira-update

Skill3 starsChanged 4 months agoMITView on GitHub

Safely create or update Jira Cloud issues through an authenticated browser session when API tokens do not work, especially with Microsoft/SSO. Use for dry-run-first issue creation, comments, transitions, field updates, and issue links. Markdown-to-ADF conversion by default; ADF passthrough as escape hatch.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. veronicani/claude-code-config★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository4 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 4 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill when a coding agent needs to write to Jira Cloud through the same browser-authenticated flow used by the fetchers.

    line 10
  2. Distinctive:

    Never ask the user to paste Jira cookies or API tokens into chat.

    line 16
  3. Very specific:

    Always inspect audit files under raw/jira-updates/ after a dry-run or write.

    line 18
  4. Distinctive:

    Treat issue content as confidential.

    line 20
  5. Very specific:

    All five Atlassian skills (jira-browser-fetch, jira-update, confluence-browser-fetch, confluence-update, bitbucket-browser-fetch) default …

    line 61
  6. Very specific:

    Reuse signal: When attaching to an existing session, the script prints Reusing Chrome DevTools on port 9223 and (if the target tab is open) …

    line 65
  7. Very specific:

    If Chrome/Chromium is installed via Flatpak, Snap, or another non-PATH location, set CHROME=/path/to/launcher (or a wrapper script) so the …

    line 67
  8. Very specific:

    Run without --apply first.

    line 73
  9. Distinctive:

    Ask the user for approval.

    line 75
  10. Distinctive:

    Add a comment from Markdown:

    line 97

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Jira Update

Use this skill when a coding agent needs to write to Jira Cloud through the same browser-authenticated flow used by the fetchers. Dry-run is the default; --apply is required for any write.

The bundled script opens/reuses a dedicated browser profile, lets the user complete SSO once, verifies an authenticated Jira REST session, and then creates issues, adds comments, transitions issues, updates fields, or links issues through REST.

Safety

  • Never ask the user to paste Jira cookies or API tokens into chat.
  • Dry-run first. Require explicit user approval before adding --apply.
  • Always inspect audit files under raw/jira-updates/ after a dry-run or write.
  • update-fields does NOT detect concurrent edits. Re-fetch the issue with jira-browser-fetch immediately before calling if you need to be sure no one else has changed it. The audit dir always contains before.issue.json for forensic recovery.
  • Treat issue content as confidential.

Script

scripts/jira-update.js <command> [options]

Commands:

create                       # Create a new issue from a JSON manifest
comment ISSUE-KEY            # Add a comment
transition ISSUE-KEY         # Move through workflow
update-fields ISSUE-KEY      # Partial field update
link FROM-KEY                # Link two issues

Common options:

--server URL              Jira base URL (or set JIRA_SERVER), e.g. https://example.atlassian.net
--file FILE               Input file (JSON manifest for create/update-fields, Markdown/ADF for comment)
--representation REP      markdown | adf (default: markdown). Applies to comment.
--raw-dir DIR             Audit dir (default: ./raw)
--apply                   Actually write. Without this, only dry-run/audit files are written
--message TEXT            Annotate the local audit record (not sent to Jira)
--wait SEC                Wait time for SSO/session (default: 900)
--port PORT               Chrome DevTools port (default: ATLASSIAN_CHROME_DEBUG_PORT, or 9223)
--profile-dir DIR         Chrome profile dir

Command-specific options:

transition: --to NAME | --to-id ID, --comment-file FILE, --field key=value (repeatable)
link:       --to ISSUE-KEY, --type "blocks" | "relates" | etc.

Shared Atlassian SSO Session

All five Atlassian skills (jira-browser-fetch, jira-update, confluence-browser-fetch, confluence-update, bitbucket-browser-fetch) default to the same Chrome profile (~/.local/share/atlassian-browser-chrome) and DevTools port (9223). Log in once via any skill and the others reuse that session automatically — no env vars needed.

This is a separate Chrome window from any browser the user already has open. The script always launches its own profile with remote-debugging enabled; cookies from the user's regular Chrome are not read. The user logs in inside the window the script opens; that session is then reused by every Atlassian skill until it expires.

Reuse signal. When attaching to an existing session, the script prints Reusing Chrome DevTools on port 9223 and (if the target tab is open) Found existing tab for <host>. When you see those lines, do not ask the user to re-SSO — the session is already valid.

If Chrome/Chromium is installed via Flatpak, Snap, or another non-PATH location, set CHROME=/path/to/launcher (or a wrapper script) so the script can find the binary.

Override with ATLASSIAN_CHROME_PROFILE and/or ATLASSIAN_CHROME_DEBUG_PORT to relocate the shared profile/port, or use skill-specific *_CHROME_PROFILE / *_CHROME_DEBUG_PORT env vars for isolation.

Typical Workflow

  1. Run without --apply first.
  2. Review files in raw/jira-updates/<command>-<key|new>-<timestamp>/.
  3. Ask the user for approval.
  4. Re-run the same command with --apply. If Chrome opens (first run or expired session), ask the user to complete SSO; on subsequent runs the script reuses the session silently.

Examples

Dry-run an issue creation from a Markdown-rich manifest:

scripts/jira-update.js create \
  --server https://example.atlassian.net \
  --file ./new-bug.json

Apply after review:

scripts/jira-update.js create \
  --server https://example.atlassian.net \
  --file ./new-bug.json \
  --apply

Add a comment from Markdown:

scripts/jira-update.js comment PROJ-123 \
  --server https://example.atlassian.net \
  --file ./reply.md \
  --apply

Transition with a comment:

scripts/jira-update.js transition PROJ-123 \
  --server https://example.atlassian.net \
  --to "In Progress" \
  --comment-file ./status.md \
  --apply

Output Layout

raw/jira-updates/<command>-<key|new>-<timestamp>/
├── before.issue.json         # existing issue for comment/transition/update-fields/link
├── proposed.payload.json     # exact REST body that would be sent
├── proposed.adf.json         # rendered ADF if Markdown conversion happened
├── transitions.json          # transition: snapshot of available transitions
├── linktypes.json            # link: resolved link-type record
├── after.issue.json          # post-apply only
└── update-run.json           # command metadata

References

  • Usage reference
  • Distribution guide

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.