Agent-friendly Jira CLI with structured JSON output and jq filtering
Project description
jira-jr
Jira CLI built for AI agents — pure JSON output, semantic exit codes, 600+ auto-generated commands, and built-in jq filtering.
Give your AI agent (Claude Code, Cursor, Copilot, or custom bots) reliable, token-efficient access to Jira Cloud.
Install
pip install jira-jr
# or
uv tool install jira-jr
Why jr?
# Full Jira response: ~10,000 tokens
jr issue get --issueIdOrKey PROJ-123
# With jr's filtering: ~50 tokens
jr issue get --issueIdOrKey PROJ-123 --fields key,summary --jq '{key: .key, summary: .fields.summary}'
- All output is JSON — stdout for data, stderr for errors, always
- Semantic exit codes — 0=ok, 2=auth, 3=not_found, 5=rate_limited — agents can branch without parsing
- 600+ commands from the official Jira OpenAPI spec, synced daily
- Batch operations — N API calls in one process via
jr batch - Self-describing —
jr schema --compactlets agents discover commands at runtime - Workflow helpers —
jr workflow transition --to "Done"resolves IDs automatically
Quick start
# Configure
jr configure --base-url https://yoursite.atlassian.net --token YOUR_API_TOKEN
# Search issues
jr search search-and-reconsile-issues-using-jql \
--jql "project = PROJ AND status = 'In Progress'" \
--jq '[.issues[] | {key, summary: .fields.summary}]'
# Transition + assign in one call
echo '[
{"command":"workflow transition","args":{"issue":"PROJ-123","to":"Done"}},
{"command":"workflow assign","args":{"issue":"PROJ-123","to":"me"}}
]' | jr batch
Also available via
- Homebrew:
brew install sofq/tap/jr - npm:
npm install -g jira-jr - Scoop:
scoop bucket add sofq https://github.com/sofq/scoop-bucket && scoop install jr - Docker:
docker run --rm ghcr.io/sofq/jr version - Go:
go install github.com/sofq/jira-cli@latest
Documentation
Full docs, Claude Code skill, and source at github.com/sofq/jira-cli.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jira_jr-0.9.1.tar.gz.
File metadata
- Download URL: jira_jr-0.9.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b1818f1e90d7e9ebc585f1ebadca0aa8e069545c72832d8e16a1c4c00ffc620
|
|
| MD5 |
b676f1475eb5274e19e31fb303aa6974
|
|
| BLAKE2b-256 |
babc927032a52c94f1b74629044083ecc058c07318af15c20a757f8b62b8aeda
|
Provenance
The following attestation bundles were made for jira_jr-0.9.1.tar.gz:
Publisher:
release.yml on sofq/jira-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jira_jr-0.9.1.tar.gz -
Subject digest:
6b1818f1e90d7e9ebc585f1ebadca0aa8e069545c72832d8e16a1c4c00ffc620 - Sigstore transparency entry: 1109842010
- Sigstore integration time:
-
Permalink:
sofq/jira-cli@9fa7f2dc2b596dca661f71e6b3626420806a8137 -
Branch / Tag:
refs/tags/v0.9.1 - Owner: https://github.com/sofq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9fa7f2dc2b596dca661f71e6b3626420806a8137 -
Trigger Event:
push
-
Statement type:
File details
Details for the file jira_jr-0.9.1-py3-none-any.whl.
File metadata
- Download URL: jira_jr-0.9.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85552b1558186f028479ba3af5e7f318312c380952f2de625efe5adb3b6fa2e4
|
|
| MD5 |
b73e9d3faf76850ae53612f524df665e
|
|
| BLAKE2b-256 |
a811734559d6b667b45bf2a36d7483e97230e4d1d073a73e6a249c4a5793dee1
|
Provenance
The following attestation bundles were made for jira_jr-0.9.1-py3-none-any.whl:
Publisher:
release.yml on sofq/jira-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jira_jr-0.9.1-py3-none-any.whl -
Subject digest:
85552b1558186f028479ba3af5e7f318312c380952f2de625efe5adb3b6fa2e4 - Sigstore transparency entry: 1109842011
- Sigstore integration time:
-
Permalink:
sofq/jira-cli@9fa7f2dc2b596dca661f71e6b3626420806a8137 -
Branch / Tag:
refs/tags/v0.9.1 - Owner: https://github.com/sofq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9fa7f2dc2b596dca661f71e6b3626420806a8137 -
Trigger Event:
push
-
Statement type: