A gh-style CLI for Bitbucket (PRs, repos, pipelines) and Jira (issues), with branch-name-as-Jira-key automation
Project description
A gh-style CLI for Bitbucket (pull requests, repos, pipelines) and Jira (issues), with branch-name-as-Jira-key automation.
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.
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.0.1/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.
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.
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 bitbucket_jira_cli-1.0.1.tar.gz.
File metadata
- Download URL: bitbucket_jira_cli-1.0.1.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a2a5357cbc358686806386ab42d702cef078344eedc6df3db33e381d37944c0
|
|
| MD5 |
d7021e34fe2436fee8272ee73ff8e6a1
|
|
| BLAKE2b-256 |
9404ec243d2374eddfb53a09def4f58a574af9b0b288e06509a67027eb576f6c
|
File details
Details for the file bitbucket_jira_cli-1.0.1-py3-none-any.whl.
File metadata
- Download URL: bitbucket_jira_cli-1.0.1-py3-none-any.whl
- Upload date:
- Size: 71.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a2456d079b819a8816d51f3fd7c469b7100a72fe821ef4f0f33357fa5c61a91
|
|
| MD5 |
3ec04a214d41723a9ce2401579387cca
|
|
| BLAKE2b-256 |
bea7441eea75f0ce0271a117ab1702220ea5b63c2a75c329440a11a7749e505b
|