New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Jira plugin that gives Claude Code CLI scripts for issues, sprints, and wiki-markup authoring without MCP overhead.

GitHub stars
92
View on GitHub

What it does

  • Adds jira-communication for issue, search, worklog, transition, comment, sprint, board, and field operations via Python scripts
  • Adds jira-syntax for converting Markdown to Jira wiki markup, with bug and feature request templates
  • Runs a dry-run option on write operations such as jira-issue.py update and jira-transition.py do before changes apply
  • Designed for teams on Jira Server, Data Center, or Cloud that want Jira access without loading MCP tool descriptions

Comprehensive Jira integration with auto-detection of issue keys. Two specialized skills: jira-communication for API operations and jira-syntax for wiki markup validation and templates.

Add marketplace

/plugin marketplace add netresearch/claude-code-marketplace

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install jira-integration@netresearch-claude-code-marketplace

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

Jira Communication

CLI scripts via uv run, all supporting --help, --json, --quiet, --debug.

Auto-Trigger

On Jira URL or issue key (PROJ-123), pick by intent — each is one call:

IntentTool
triage / work on ticketjira-issue.py work KEY
start QA reviewjira-issue.py qa KEY
QA-fail follow-upjira-issue.py qa-fail KEY
field-only lookupjira-issue.py get KEY --fields ...
change statusjira-issue.py act KEY → jira-transition.py do
audit / sibling discovery / "am I reviewing my own work?"jira-qa-gather.py KEY

Auth issues → jira-setup.py. Anti-pattern: get + comment list — use the matching verb.

work flags a ticket you have not taken: when it is not assigned to you, or its status says nobody works on it (To Do category, a review status such as QA, or resolved), a !! CLAIM KEY notice on stderr (claim in --json) lists the commands — jira-issue.py update KEY --assignee me, then the start or reopen transition from jira-transition.py list KEY. Run them before your first comment, measurement or edit. jira-comment.py add warns once before posting when the ticket is neither yours nor in a working status; it still posts.

Scripts

Under ${CLAUDE_SKILL_DIR}/scripts/{core,workflow,utility}/.

Core: jira-issue.py, jira-search.py, jira-worklog.py, jira-attachment.py, jira-setup.py, jira-validate.py Workflow: jira-create.py, jira-transition.py, jira-comment.py, jira-move.py, jira-sprint.py, jira-board.py, jira-version.py, tempo-account.py Utility: jira-user.py, jira-fields.py, jira-link.py, jira-weblink.py, jira-worklog-query.py, jira-watchers.py, jira-qa-gather.py

Execution Style

Run directly. Scripts report ✓/✗. Destructive ops: --dry-run. Global flags before subcommand: jira-issue.py --json get PROJ-123.

Every write ends with the ticket's state

After a successful write, these commands print the ticket's state to stderr: jira-comment.py add/edit, jira-transition.py do/path, jira-issue.py update, jira-worklog.py add, jira-weblink.py add, jira-link.py create (FROM_KEY, which is --target in the named form), jira-attachment.py add and jira-create.py issue:

── PROJ-123 · Task · Open · resolution: – · assignee: unassigned
   time: logged 15m / estimate – / remaining – · labels: –
(!) ticket is "Open" while you work on it: claim it (assign + start work)

Read the (!) lines and act on them before reporting the work done. They appear when the ticket is Open or Backlog while you write to it, unassigned while In Progress, assigned to someone else while you write to it, already done while you write to it, done without a resolution, carries a resolution while not done, or has more time logged than estimated. An unassigned ticket in a review status such as QA gets no hint: it waits for the team pool by design. After a transition or a create only the resolution and time checks run, because the status and assignee are what the command just set.

With --json the same facts arrive as a ticket_state field in the output object, beside the keys it already had: key, status, status_category, issuetype, resolution, assignee, assignee_is_you, time_spent_seconds, original_estimate_seconds, remaining_estimate_seconds, labels and hints, the last being the (!) lines as strings. Read ticket_state.hints as you would the (!) lines. jira-attachment.py add --json prints a list, so its state goes to stderr as text instead. --quiet prints no state.

The state costs one extra read per write (jira-comment.py add reads once more before posting, for its claim warning) and never fails the command: a lookup error prints one line, or becomes "ticket_state": {"key": …, "error": "<type>"} in JSON. JIRA_TICKET_STATE=0 turns it off everywhere, together with the warning jira-comment.py add prints before posting; the work claim notice stays. logged is Jira's own time tracking: time booked elsewhere shows only once it is synced into a Jira worklog.

Posting wiki markup rewrites and checks it first

Every --comment and --description option that writes wiki markup runs three gates before the write, all on by default, because text that renders wrong is silent — the API returns 2xx either way. That is all seven: jira-comment.py add/edit, jira-transition.py do --comment, jira-transition.py path --comment, jira-worklog.py add --comment, and the --description of jira-create.py issue and jira-issue.py update. A body smuggled in through --fields-json is not gated — that option writes raw fields by design. jira-version.py writes two --description fields that are NOT gated (create and update); whether Jira renders a version description as wiki markup at all is unverified, and its help string claiming it does may simply be wrong.

  1. Dashes that Jira would render as strikethrough are escaped. \- prints as a plain hyphen, so the posted text reads as written; stderr names how many lines changed and shows the first five. (The one shape where the escape is visible is two macros written against each other with no space — the dash can land inside a link target. Ordinary prose does not reach it.) --no-auto-escape keeps the markup verbatim — but on its own it does not post a deliberate -strikethrough-: the lint and the render check each still refuse the span. Use --no-auto-escape --force for that.
  2. The markup and the ticket language are linted. Block tags used inline ({code}, {noformat}, {quote}, {panel} are block-level), unbalanced tag counts, German prose on an English-only project, and a reference to another comment by position ("the comment above", "Kommentar oben" — comment order is a per-user setting; write "the previous comment" or use a permalink) each abort the write. --force turns the findings into warnings and posts anyway.
  3. The text is rendered by the instance and refused if it comes back struck through. This costs one API call per post and catches what no local check can — an autolinked issue key creates a boundary that exists only on an instance where that key resolves. A resolved issue's key, which Jira draws struck through as status styling, is not reported. --no-preflight skips it; an unreachable renderer warns once and posts anyway.

--force posts despite any of the three. The flags are spelled the same on each command. All seven also take --dry-run: the escape and the lint still run — the preview shows the text a real write would post — while the render call and the write do not. See references/comments.md for the details.

Basic Usage

uv run ${CLAUDE_SKILL_DIR}/scripts/core/jira-issue.py get PROJ-123
uv run ${CLAUDE_SKILL_DIR}/scripts/core/jira-search.py query "assignee = currentUser() AND status != Closed" -n 5 -f key,summary,status
uv run ${CLAUDE_SKILL_DIR}/scripts/core/jira-issue.py update PROJ-123 --assignee me --priority Critical
uv run ${CLAUDE_SKILL_DIR}/scripts/workflow/jira-comment.py add PROJ-123 "Comment text"
uv run ${CLAUDE_SKILL_DIR}/scripts/workflow/jira-comment.py add PROJ-123 "Comment text" --no-auto-escape --force  # deliberate -strikethrough-
uv run ${CLAUDE_SKILL_DIR}/scripts/workflow/jira-transition.py do PROJ-123 "In Progress"
uv run ${CLAUDE_SKILL_DIR}/scripts/core/jira-worklog.py add PROJ-123 2h --comment "Work done"
uv run ${CLAUDE_SKILL_DIR}/scripts/workflow/jira-create.py issue PROJ "Summary" --type Task

Transitions: list shows each transition's id and what its screen requires; pass the id to do — a name or a target status is not always unique, and an ambiguous one is refused rather than guessed. Terminal transitions: pass --resolution <value> (Done, Won't do); if rejected ("cannot be set"), retry without it — references/intent-verbs.md. Versions: read references/versions.md before jira-version.py. Mentions: posting commands verify [~username] (miss → suggestions); get/work print usernames (references/fields-and-users.md).

Related Skills

jira-syntax: descriptions/comments use Jira wiki markup, not Markdown.

No editorializing

State what happened, not how good it is — references/no-editorializing.md.

References

  • references/jql-quick-reference.md, references/jql-cookbook.md
  • references/multi-profile.md — --profile
  • references/troubleshooting.md — auth, 401/403
  • references/issue-editing.md — edit, delete, clear fields, --fields-json
  • references/creation.md — create, --parent, fields, admin-scope (project, tempo-account.py)
  • references/comments.md — edit, delete, lint, body via -, restricted comments (--visibility)
  • references/worklog.md — --started, ranges, --tempo-account, delete
  • references/attachments.md — upload, download
  • references/links.md — links
  • references/agile.md — sprints/boards
  • references/no-editorializing.md — no self-praise
  • references/fields-and-users.md — custom field IDs, users, issue types, screen fields (jira-fields.py meta)
  • references/watchers.md — watch, subscribe, list watchers
  • references/versions.md — fix/affects versions, releases, version CRUD
  • references/qa-gather.md — audit bundle (siblings, prose URLs, self-review check from changelog + worklog — not the assignee)
  • references/intent-verbs.md — work / qa / qa-fail / act, exact transition names

Authentication

Cloud: JIRA_URL + JIRA_USERNAME + JIRA_API_TOKEN. Server/DC: JIRA_URL + JIRA_PERSONAL_TOKEN. Config via ~/.env.jira or ~/.jira/profiles.json.

Readme

Jira Integration Plugin for Claude Code

CI License Python

A Claude Code plugin providing comprehensive Jira integration through two specialized skills.

Plugin Structure

SkillPurpose
jira-communicationAPI operations via Python CLI scripts
jira-syntaxWiki markup syntax, templates, validation

Each skill has its own SKILL.md with trigger conditions and usage instructions. Claude Code auto-discovers and activates skills based on context.

🔌 Skill Compatibility

The skills contained in this plugin follow the Agent Skills open standard originally developed by Anthropic and released for cross-platform use.

Supported Platforms:

  • ✅ Claude Code (Anthropic)
  • ✅ Cursor
  • ✅ GitHub Copilot
  • ✅ Other skills-compatible AI agents

Skills are portable packages of procedural knowledge that work across any AI agent supporting the Agent Skills specification.

Features

  • Zero MCP overhead - Scripts invoked via Bash, no tool descriptions loaded
  • Fast execution - No Docker container spin-up
  • Full API coverage - All common Jira operations supported
  • Jira Server/DC + Cloud - Works with both deployment types

Installation

Marketplace (Recommended)

Add the Netresearch marketplace once, then browse and install skills:

# Claude Code
/plugin marketplace add netresearch/claude-code-marketplace
/plugin install jira-integration@netresearch-claude-code-marketplace

Without a marketplace

Since Claude Code 2.1.157 a plugin directory under your personal skills directory loads on its own, including the hooks this repo ships:

mkdir -p ~/.claude/skills
git clone https://github.com/netresearch/jira-skill.git \
  ~/.claude/skills/jira-integration

It loads as jira-integration@skills-dir on the next session. Update with git -C ~/.claude/skills/jira-integration pull and start a new session; remove it by deleting the directory. This route has no claude plugin update.

npx (skills.sh)

Install with any Agent Skills-compatible agent:

npx skills add https://github.com/netresearch/jira-skill --skill jira-communication
npx skills add https://github.com/netresearch/jira-skill --skill jira-syntax

Limitation: npx skills installs SKILL.md-based skills only. This repo also ships hooks, which it does not install — use the marketplace or the skills directory for those.

Download Release

Download the latest release and extract to your agent's skills directory.

Git Clone

git clone https://github.com/netresearch/jira-skill.git

Composer (PHP Projects)

composer require netresearch/jira-skill

Requires netresearch/composer-agent-skill-plugin.

npm (Node Projects)

npm install --save-dev \
  @netresearch/agent-skill-coordinator \
  github:netresearch/jira-skill

Requires @netresearch/agent-skill-coordinator, which discovers the skill in node_modules and registers it in AGENTS.md via a postinstall hook. For pnpm, also allowlist the coordinator's postinstall:

{
  "pnpm": {
    "onlyBuiltDependencies": ["@netresearch/agent-skill-coordinator"]
  }
}

Quick Start

Note: Run commands from skills/jira-communication/, or prefix paths with skills/jira-communication/ from the repo root.

# Search issues
uv run scripts/core/jira-search.py query "project = PROJ AND status = 'In Progress'"

# Get issue details
uv run scripts/core/jira-issue.py get PROJ-123

# Add worklog
uv run scripts/core/jira-worklog.py add PROJ-123 "2h 30m" -c "Code review"

# Create issue
uv run scripts/workflow/jira-create.py issue PROJ "Fix bug" --type Bug --priority High

Available Scripts

Core Operations (scripts/core/)

ScriptCommandsUsage
jira-setup.py(default)Interactive credential setup
jira-validate.py(default)Validate environment setup
jira-issue.pyget, updateGet and update issues
jira-search.pyqueryJQL search
jira-worklog.pyadd, listTime tracking
jira-attachment.pydownloadDownload issue attachments

Workflow Operations (scripts/workflow/)

ScriptCommandsUsage
jira-create.pyissueCreate new issues
jira-transition.pylist, doChange issue status
jira-comment.pyadd, listIssue comments
jira-sprint.pylist, issues, currentSprint operations
jira-board.pylist, issuesBoard operations

Utility Operations (scripts/utility/)

ScriptCommandsUsage
jira-fields.pysearch, listFind field IDs
jira-user.pyme, getUser information
jira-link.pycreate, list-typesIssue linking

Common Options

All scripts support:

  • --json - Output as JSON
  • --quiet / -q - Minimal output
  • --env-file PATH - Custom environment file
  • --debug - Show detailed errors
  • --help - Show command help

Write operations also support:

  • --dry-run - Preview changes without executing

Script Usage Examples

Search and Filter

# Find open bugs in project
uv run scripts/core/jira-search.py query "project = PROJ AND type = Bug AND status != Done"

# Find my assigned issues
uv run scripts/core/jira-search.py query "assignee = currentUser()"

# Output as JSON for processing
uv run scripts/core/jira-search.py query "project = PROJ" --json --max-results 100

Issue Management

# Get issue details
uv run scripts/core/jira-issue.py get PROJ-123

# Update issue fields (dry-run first)
uv run scripts/core/jira-issue.py update PROJ-123 --labels "urgent,backend" --dry-run

# Create new issue
uv run scripts/workflow/jira-create.py issue PROJ "Implement feature X" --type Story --priority Medium

Time Tracking

# Log time worked
uv run scripts/core/jira-worklog.py add PROJ-123 "2h 30m" -c "Implemented core logic"

# View worklogs
uv run scripts/core/jira-worklog.py list PROJ-123

Workflow Transitions

# List available transitions
uv run scripts/workflow/jira-transition.py list PROJ-123

# Transition issue (dry-run first)
uv run scripts/workflow/jira-transition.py do PROJ-123 "In Progress" --dry-run

# Execute transition
uv run scripts/workflow/jira-transition.py do PROJ-123 "In Progress"

Comments

# Add comment
uv run scripts/workflow/jira-comment.py add PROJ-123 "Investigation complete - root cause identified"

# List recent comments
uv run scripts/workflow/jira-comment.py list PROJ-123 --limit 5

Sprint & Board Operations

# List boards for project
uv run scripts/workflow/jira-board.py list --project PROJ

# Get board issues
uv run scripts/workflow/jira-board.py issues 42

# List sprints
uv run scripts/workflow/jira-sprint.py list 42 --state active

# Get sprint issues
uv run scripts/workflow/jira-sprint.py issues 123

# Get current sprint
uv run scripts/workflow/jira-sprint.py current 42

Utility Operations

# Search for custom fields
uv run scripts/utility/jira-fields.py search "story points"

# List all custom fields
uv run scripts/utility/jira-fields.py list --type custom

# Get current user info
uv run scripts/utility/jira-user.py me

# List available link types
uv run scripts/utility/jira-link.py list-types

# Create issue link
uv run scripts/utility/jira-link.py create PROJ-123 PROJ-456 --type "Blocks" --dry-run

Related Skills

  • jira-syntax - Jira wiki markup validation and templates (unchanged)

Troubleshooting

"uv not found"

Install uv:

pip install uv

"Environment file not found"

Create ~/.env.jira with your credentials.

"Authentication failed"

  1. Verify JIRA_URL is correct
  2. For Cloud: JIRA_USERNAME is your email
  3. For Server/DC: Use JIRA_PERSONAL_TOKEN instead
  4. Regenerate your API token if expired

Import errors when running scripts

Run scripts from the skill directory:

cd skills/jira-communication
uv run scripts/core/jira-issue.py get PROJ-123

Governance and policies

This repository follows the Netresearch organisation policies:

  • Governance: ownership, roles, how decisions are made and disputes resolved, and continuity.
  • Roadmap: planned and explicitly excluded work for the coming year.
  • Handling of dependency and code analysis findings: thresholds, deadlines and the exception process for dependency (SCA) and static analysis (SAST) findings.
  • Secret management: how CI and release credentials are stored, accessed and rotated.
  • Access roster: who holds administrative access to this repository and the organisation.

The security assurance case for this plugin (how Jira credentials are read and where they are sent, trust boundaries, countermeasures and limits) is in docs/SECURITY-ASSURANCE.md.

Checks that run in this repository:

  • Every pull request: Skill Validation (lint.yml and validate.yml: skill structure, plugin manifest sync, markdownlint, yamllint, actionlint, JSON syntax, version parity, ShellCheck, ruff; validate.yml runs ShellCheck at style severity) and Eval Validation (eval-validate.yml).
  • Pull requests to main: CI (ci.yml: the pytest suite on Python 3.11 to 3.14 and bandit at severity medium over the scripts), CodeQL for actions and python (codeql.yml), security.yml with Betterleaks (secret scanning), zizmor (workflow static analysis), dependency review, Composer Audit and Opengrep SAST, Harness Verification (harness-verify.yml) and Template Drift (check-template-drift.yml). The organisation's security policy sets when dependency review and Opengrep fail: see dependencies and static analysis (SAST).
  • Also on every pull request: Labeler (labeler.yml), the DCO sign-off check, SonarCloud Code Analysis (with its code-scanning result check SonarCloud) and the CodeRabbit review status (GitHub Apps) and, for dependency-update pull requests, auto-merge (auto-merge-deps.yml).
  • Pull requests that change skills/jira-communication/scripts/ or the workflow itself, and weekly: Dependency Audit (dependency-audit.yml) runs pip-audit over the PEP 723 dependencies of skills/jira-communication/scripts. Dependency review does not read PEP 723 blocks; this workflow covers them. OpenSSF Scorecard (scorecard.yml) and CodeQL (codeql.yml) also run weekly.

License

MIT

Credits

Developed and maintained by Netresearch DTT GmbH.


Made with ❤️ for Open Source by Netresearch

Details

Marketplace
netresearch/claude-code-marketplace
Source
netresearch/jira-skill
Category
Workflow
Listed since
Apr 7, 2026

More from netresearch/claude-code-marketplace

All 41

Similar to jira-integration

More Productivity & Notes