Skip to content

Bitbucket Data Center

The operational CLI for Bitbucket Data Center.

bb gives Bitbucket Data Center teams a safer command line: machine-readable output, dry-run planning, repository-aware ergonomics, and behavior validated against a real server.

Data Center only — Bitbucket Cloud is not supported

bb talks to the Bitbucket Data Center REST API. Bitbucket Cloud (bitbucket.org) is a different API, and no bb command will work against it. If your repositories live on bitbucket.org, this is not your CLI.

Operational Safety

Plan server changes before you apply them

Dry-run planning and bulk review/apply workflows reduce the usual risk of shelling directly into enterprise Bitbucket instances.

Automation Contract

Stable output for CI, tooling, and agents

The CLI wraps every --json payload in the same small envelope, so scripts, pipelines and LLM agents are not parsing human prose.

Live-Tested

Validated against real Bitbucket behavior

Command workflows are validated against Bitbucket Data Center APIs, which keeps the docs and the binary grounded in real platform behavior.

Start here

What this docs site contains

Documentation model

  • Command and ADR pages are generated from source-of-truth code and decision records.
  • Bulk policy, plan, and apply schemas are generated from validated workflow models.
  • The hand-written docs focus on usage patterns, safety contracts, and operator workflows around the CLI.