Skip to main content

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

Project description

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.

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.0/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

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


Download files

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

Source Distribution

bitbucket_jira_cli-1.0.0.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

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

bitbucket_jira_cli-1.0.0-py3-none-any.whl (49.0 kB view details)

Uploaded Python 3

File details

Details for the file bitbucket_jira_cli-1.0.0.tar.gz.

File metadata

  • Download URL: bitbucket_jira_cli-1.0.0.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

Hashes for bitbucket_jira_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0e09671a0c371ea01e85d257ca3ed29b686dfc4bbcae159546e4dd37b6802cb3
MD5 f5c92f1572f23aef1b099565105a35fd
BLAKE2b-256 631ab7d63019a7872c5a3446317b437ed2e007ccd19267ed8d8160daa15af22f

See more details on using hashes here.

File details

Details for the file bitbucket_jira_cli-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: bitbucket_jira_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 49.0 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

Hashes for bitbucket_jira_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b5467316fb18bf6f2650d0c7f9cf9fba47ade85ea2784b297addaba5075cf6e
MD5 95962e3a0912ce4c4789c6aacf7d63e9
BLAKE2b-256 a0f7f37f2d7cad26bdd8684ec72e713fe223e2b22862513988d12d8dea9f17ba

See more details on using hashes here.

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