Skip to main content

bitbucket-jira-cli

A gh-style CLI for Bitbucket (pull requests, repos, pipelines) and Jira (issues), with branch-name-as-Jira-key automation.

Build Python package Build and publish to PyPI PyPI version Docker Hub version Documentation

What it does

bj brings GitHub gh ergonomics to Bitbucket and Jira. It manages Bitbucket pull requests, repositories and pipelines and Jira issues from a single noun-first command surface. It is terminal-native and scriptable, so it pairs well with AI coding agents (see Coding agents).

The signature feature is branch-name-as-Jira-key: your current git branch carries a Jira key (e.g. feature/PROJ-42-thing), and commands use it to auto-link pull requests to tickets and drive Jira transitions.

Requirements

bj works with Bitbucket Cloud and Jira Cloud. Bitbucket and Jira Server or Data Center are not supported yet. Contributions to add on-prem support are welcome.

Quickstart

1. Install

macOS and Linux

curl -LsSf uvx.sh/bitbucket-jira-cli/install.sh | sh

Windows

powershell -ExecutionPolicy ByPass -c "irm https://uvx.sh/bitbucket-jira-cli/install.ps1 | iex"

Installing a specific version:

curl -LsSf uvx.sh/bitbucket-jira-cli/1.11.3/install.sh | sh

Alternative install methods (PyPI via pip / uv, prebuilt Docker image) are covered in the installation docs.

2. Authenticate

bj auth login

3. Use it

# On a branch like feature/PROJ-42-thing:
bj pr create          # open a PR, auto-linked to PROJ-42
bj pr view            # show the PR for the current branch
bj issue view PROJ-42 # show the Jira issue
bj pipeline list      # list Bitbucket Pipelines runs

4. Use it with AI agents (optional)

bj ships an agent skill, so AI coding agents (Claude Code, Copilot, Cursor, Codex, Gemini CLI) can drive it the way they drive gh. Install it like gh skill install, but from the package you already have:

bj skill install --agent claude-code

See the Coding agents guide.

Quick demo

Create a Jira issue, open a branch for it, and open a linked pull request, without leaving the terminal.

bj demo: create a Jira issue, open a branch for it, and open a linked pull request

Documentation

The full documentation lives at https://spenhouet.github.io/bitbucket-jira-cli/.

Contributing

If you would like to contribute, please read our contribution guideline.

License

This tool is an open source project released under the MIT License.

Metadata

Release files for bitbucket-jira-cli 1.11.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bitbucket-jira-cli 1.11.3
File Size Uploaded Provenance Actions
bitbucket_jira_cli-1.11.3.tar.gz 1.6 MB Without provenance Details for bitbucket_jira_cli-1.11.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bitbucket-jira-cli 1.11.3
File Interpreter ABI Platform Actions
bitbucket_jira_cli-1.11.3-py3-none-any.whl Python 3 none any Details for bitbucket_jira_cli-1.11.3-py3-none-any.whl

Total release size: 1.7 MB

Release files / bitbucket_jira_cli-1.11.3.tar.gz

Download URL bitbucket_jira_cli-1.11.3.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
bdcefc29448876eb0ab6eefd140a6f236002d2b207d11daf635a81313b4a67f3
BLAKE2b-256 checksum
How to use checksums
cc7dccbd42e83ca81177b9284c11e69d0521521878bae2c91542fbd3d1d0eb44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / bitbucket_jira_cli-1.11.3-py3-none-any.whl

Download URL bitbucket_jira_cli-1.11.3-py3-none-any.whl
Size 104.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5df267349c3a0611ef2c3e5ceb6e1fcb02948381f221e47829a5343a2f9a36ae
BLAKE2b-256 checksum
How to use checksums
87f75b58de3a34436ce14b5e03ed57e75b996b1b93a49ac918a2ed8463748384
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for bitbucket-jira-cli 1.11.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page