Skip to content

Bitbucket Server and Data Center

The operational CLI for Bitbucket Server.

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

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 exposes a versioned bb.machine 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.