Skip to main content

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-describingjr schema --compact lets agents discover commands at runtime
  • Workflow helpersjr 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jira_jr-0.8.8.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jira_jr-0.8.8-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file jira_jr-0.8.8.tar.gz.

File metadata

  • Download URL: jira_jr-0.8.8.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for jira_jr-0.8.8.tar.gz
Algorithm Hash digest
SHA256 d4c48fc1d1f9b2d7b15ee6b362e33caa9b736f39f98eb44a3ca41f96d9f10240
MD5 0d66cd686a875d4da76c03d9c182cd1b
BLAKE2b-256 bd7926e08784f53e81041147e0c94c2e68b75ab5ecc2519f7044ca2d434f1f5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for jira_jr-0.8.8.tar.gz:

Publisher: release.yml on sofq/jira-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jira_jr-0.8.8-py3-none-any.whl.

File metadata

  • Download URL: jira_jr-0.8.8-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

Hashes for jira_jr-0.8.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a53b8f833213c2a1c3b5cd3d0cab9a0a4c5efa5f9ba3abb5360bc606daec5667
MD5 7c3fd712f6f8684be8e57558e229f7d1
BLAKE2b-256 c05f795b1224df6a1dd42b96ec3ce3c385d817d346191ef8dc12de24a14cf265

See more details on using hashes here.

Provenance

The following attestation bundles were made for jira_jr-0.8.8-py3-none-any.whl:

Publisher: release.yml on sofq/jira-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page