Skip to content

All Commands

This page is generated by task docs:export-command-reference. Do not edit manually.

Generated command entries: 293

bb

Bitbucket Data Center CLI (live-behavior first)

bb — Bitbucket Data Center CLI (live-behavior first)

A CLI for interacting with recent versions of Bitbucket for Data Center APIs.

AGENT NOTICE
If you are an AI agent or automated tool using this CLI and you encounter
unexpected behavior, missing functionality, or errors that do not match
what you expected, please report it so it can be investigated.

You can create an issue at:
  https://github.com/vriesdemichael/bitbucket-server-cli/issues/new

If you cannot open the URL directly, ask the user to file the issue on
your behalf using the link above.

Usage:
  bb [command]

Available Commands:
  admin          Local environment/admin commands
  ai             AI-first tooling: MCP server and agent skill distribution
  auth           Authentication commands
  branch         Repository branch and branch restriction commands
  browse         Open repository pages in a web browser
  build          Build status and required merge-check commands
  bulk           Plan and apply multi-repository policies
  clone          Clone a repository to the local filesystem
  commit         Commit inspection and compare commands
  deployment     Manage repository-scoped deployments for commits
  diff           Diff and patch commands
  hook           Manage repository/project hooks
  insights       Code Insights report and annotation commands
  pr             Pull request commands
  project        Project administration commands
  ref            Repository ref resolution and listing commands
  repo           Repository commands
  reviewer       Manage default reviewers
  reviewer-group Manage reviewer groups
  search         Search for repositories, commits, and pull requests
  ssh-key        Manage personal SSH keys
  tag            Repository tag lifecycle commands
  update         Check for and install the latest bb release
  webhook        Manage repository webhooks

Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb [command] --help" for more information about a command.

bb admin

Local environment/admin commands

Local environment/admin commands

Usage:
  bb admin [command]

Available Commands:
  health      Check local stack health

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb admin [command] --help" for more information about a command.

bb admin health

Check local stack health

Check local stack health

Usage:
  bb admin health [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb ai

AI-first tooling: MCP server and agent skill distribution

AI-first tooling: MCP server and agent skill distribution

Usage:
  bb ai [command]

Available Commands:
  mcp         MCP server commands
  skill       Agent skill distribution commands

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb ai [command] --help" for more information about a command.

bb ai mcp

MCP server commands

MCP server commands

Usage:
  bb ai mcp [command]

Available Commands:
  serve       Start the MCP server (stdio transport)
  tools       List available MCP tools with name and description

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb ai mcp [command] --help" for more information about a command.

bb ai mcp serve

Start the MCP server (stdio transport)

Start the bb MCP server using stdio transport for IDE integration.

Configure your IDE's MCP client to run:

  bb ai mcp serve

VS Code (settings.json):
  "mcp": {
    "servers": {
      "bb": { "type": "stdio", "command": "bb", "args": ["ai", "mcp", "serve"] }
    }
  }

By default the server runs in safe mode: only tools whose side-effects are
low-blast-radius and easily reversed are exposed (e.g. create_pull_request,
add_pr_comment). Tools that perform irreversible operations such as
merge_pull_request are withheld unless --yolo is set.

Use --tools to expose a specific subset regardless of the safety classification.
Use --exclude to suppress individual tools in any mode.

When more than one Bitbucket instance is configured the --host flag is required.
Use --token to restrict all API calls to the rights of a specific PAT.

Usage:
  bb ai mcp serve [flags]

Flags:
      --allow-writes     Alias for --yolo
      --exclude string   Comma-separated denylist of tool names to suppress
      --host string      Target Bitbucket instance URL; required when multiple instances are configured
      --token string     PAT to use; restricts all API calls to this token's rights
      --tools string     Comma-separated allowlist of tool names to expose (overrides safety filter)
      --yolo             Expose all tools including unsafe operations like merge_pull_request

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb ai mcp tools

List available MCP tools with name and description

Print all MCP tools the serve command can expose.

Use this output to build --tools and --exclude allowlists/denylists.

Usage:
  bb ai mcp tools [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb ai skill

Agent skill distribution commands

Agent skill distribution commands

Usage:
  bb ai skill [command]

Available Commands:
  install     Write the bb skill to the agent skills directory
  remove      Remove the installed bb skill file
  show        Print the bb agent skill to stdout

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb ai skill [command] --help" for more information about a command.

bb ai skill install

Write the bb skill to the agent skills directory

Write the bb agent skill file to the appropriate directory.

Project scope (default):
  .agents/skills/bb/SKILL.md

Global scope (--global):
  ~/.agents/skills/bb/SKILL.md

The skill is embedded in this binary, so no network connection is required.
Re-run after upgrading bb to keep the skill file current.

Usage:
  bb ai skill install [flags]

Flags:
      --global   Install to user-level path (~/.agents/skills/bb/SKILL.md)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb ai skill remove

Remove the installed bb skill file

Remove the installed bb skill file

Usage:
  bb ai skill remove [flags]

Flags:
      --global   Remove from user-level path (~/.agents/skills/bb/SKILL.md)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb ai skill show

Print the bb agent skill to stdout

Print the bb agent skill to stdout.

The skill is embedded in this binary at compile time, so it works with no
network connection and without the source repository present.

Redirect to the location your coding agent expects:

  bb ai skill show > .agents/skills/bb/SKILL.md

Most agents use .agents/skills/<name>/SKILL.md as the project-scoped path.
Some use agent-specific paths (e.g. .claude/skills/, .cursor/skills/).
Consult your agent's documentation if the above path does not work.

A baseline skill (fixed at release time) is also distributed via the open
agent skills ecosystem and can be installed without bb being present:

  npx skills add vriesdemichael/bitbucket-data-center-cli

The npx-installed file is a snapshot from the repository. Use this command
to get a skill that always matches your installed bb version.

Usage:
  bb ai skill show [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb auth

Authentication commands

Authentication commands

Usage:
  bb auth [command]

Available Commands:
  alias       Manage host aliases for a stored server context
  gpg-key     Manage personal GPG keys
  identity    Show authenticated user identity
  login       Store credentials for a Bitbucket host
  logout      Remove stored credentials for a Bitbucket host
  server      Manage server contexts
  status      Show configured target
  token       Manage HTTP access tokens
  token-url   Show personal access token creation URL

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb auth [command] --help" for more information about a command.

bb auth alias

Manage host aliases for a stored server context

Manage host aliases for a stored server context

Usage:
  bb auth alias [command]

Available Commands:
  add         Add aliases to a stored server context
  discover    Discover aliases from the first accessible repository clone links
  list        List aliases for a stored server context
  remove      Remove an alias from a stored server context

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb auth alias [command] --help" for more information about a command.

bb auth alias add

Add aliases to a stored server context

Add aliases to a stored server context

Usage:
  bb auth alias add <alias> [alias...] [flags]

Flags:
      --host string   Bitbucket host URL

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb auth alias discover

Discover aliases from the first accessible repository clone links

Discover aliases from the first accessible repository clone links

Usage:
  bb auth alias discover [flags]

Flags:
      --host string   Bitbucket host URL

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb auth alias list

List aliases for a stored server context

List aliases for a stored server context

Usage:
  bb auth alias list [flags]

Flags:
      --host string   Bitbucket host URL

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb auth alias remove

Remove an alias from a stored server context

Remove an alias from a stored server context

Usage:
  bb auth alias remove <alias> [flags]

Flags:
      --host string   Bitbucket host URL

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb auth gpg-key

Manage personal GPG keys

Manage personal GPG keys

Usage:
  bb auth gpg-key [command]

Available Commands:
  add         Add a personal GPG key
  clear       Clear all personal GPG keys
  list        List personal GPG keys
  remove      Remove a personal GPG key

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb auth gpg-key [command] --help" for more information about a command.

bb auth gpg-key add

Add a personal GPG key

Add a personal GPG key

Usage:
  bb auth gpg-key add <key-file-or-text> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb auth gpg-key clear

Clear all personal GPG keys

Clear all personal GPG keys

Usage:
  bb auth gpg-key clear [flags]

Flags:
  -y, --yes   Confirm clearing of all GPG keys

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb auth gpg-key list

List personal GPG keys

List personal GPG keys

Usage:
  bb auth gpg-key list [flags]

Flags:
      --limit int   Maximum number of GPG keys to list (default 25)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb auth gpg-key remove

Remove a personal GPG key

Remove a personal GPG key

Usage:
  bb auth gpg-key remove <id-or-fingerprint> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb auth identity

Show authenticated user identity

Show authenticated user identity

Usage:
  bb auth identity [flags]

Aliases:
  identity, whoami

Flags:
      --host string   Override host for this identity check

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb auth login

Store credentials for a Bitbucket host

Store credentials for a Bitbucket host

Usage:
  bb auth login <host> [flags]

Flags:
      --discover-aliases   Discover host aliases from the first accessible repository clone links (default true)
      --password string    Password for basic auth
      --set-default        Set host as default target (default true)
      --token string       Access token
      --username string    Username for basic auth

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb auth logout

Remove stored credentials for a Bitbucket host

Remove stored credentials for a Bitbucket host

Usage:
  bb auth logout [flags]

Flags:
      --host string   Bitbucket host URL (defaults to stored default host)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb auth server

Manage server contexts

Manage server contexts

Usage:
  bb auth server [command]

Available Commands:
  list        List stored server contexts
  use         Set the active default server context

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb auth server [command] --help" for more information about a command.

bb auth server list

List stored server contexts

List stored server contexts

Usage:
  bb auth server list [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb auth server use

Set the active default server context

Set the active default server context

Usage:
  bb auth server use [host] [flags]

Flags:
      --host string   Bitbucket host URL

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb auth status

Show configured target

Show configured target

Usage:
  bb auth status [flags]

Flags:
      --host string   Override host for this status check

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb auth token

Manage HTTP access tokens

Manage HTTP access tokens

Usage:
  bb auth token [command]

Available Commands:
  create      Create an HTTP access token
  get         Get an HTTP access token by ID
  list        List HTTP access tokens
  revoke      Revoke an HTTP access token by ID
  update      Update an HTTP access token name or permissions

Flags:
      --project string   Project key for project access token scope
      --repo string      Repository reference (projectKey/repositorySlug) for repository access token scope
      --user string      User slug for personal access token scope

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb auth token [command] --help" for more information about a command.

bb auth token create

Create an HTTP access token

Create an HTTP access token

Usage:
  bb auth token create [name] [flags]

Flags:
      --expiry-days int      Number of days before the token expires (0 for never)
      --name string          Name of the access token
      --permission strings   Permissions to grant (repeat flag or separate with commas)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key for project access token scope
      --repo string              Repository reference (projectKey/repositorySlug) for repository access token scope
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --user string              User slug for personal access token scope

bb auth token get

Get an HTTP access token by ID

Get an HTTP access token by ID

Usage:
  bb auth token get <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key for project access token scope
      --repo string              Repository reference (projectKey/repositorySlug) for repository access token scope
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --user string              User slug for personal access token scope

bb auth token list

List HTTP access tokens

List HTTP access tokens

Usage:
  bb auth token list [flags]

Flags:
      --limit int   Maximum number of tokens to list (default 25)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key for project access token scope
      --repo string              Repository reference (projectKey/repositorySlug) for repository access token scope
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --user string              User slug for personal access token scope

bb auth token revoke

Revoke an HTTP access token by ID

Revoke an HTTP access token by ID

Usage:
  bb auth token revoke <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key for project access token scope
      --repo string              Repository reference (projectKey/repositorySlug) for repository access token scope
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --user string              User slug for personal access token scope

bb auth token update

Update an HTTP access token name or permissions

Update an HTTP access token name or permissions

Usage:
  bb auth token update <id> [flags]

Flags:
      --name string          New name for the access token
      --permission strings   New permissions to set (repeat flag or separate with commas)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key for project access token scope
      --repo string              Repository reference (projectKey/repositorySlug) for repository access token scope
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --user string              User slug for personal access token scope

bb auth token-url

Show personal access token creation URL

Show personal access token creation URL

Usage:
  bb auth token-url [flags]

Flags:
      --host string   Bitbucket host URL

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb branch

Repository branch and branch restriction commands

Repository branch and branch restriction commands

Usage:
  bb branch [command]

Available Commands:
  create      Create repository branch
  default     Get or set repository default branch
  delete      Delete repository branch
  list        List repository branches
  model       Inspect and update branch model-related settings
  restriction Manage repository branch restrictions

Flags:
      --limit int     Page size for list operations (default 25)
      --repo string   Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --start int     Start offset for list operations

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb branch [command] --help" for more information about a command.

bb branch create

Create repository branch

Create repository branch

Usage:
  bb branch create <name> [flags]

Flags:
      --start-point string   Commit ID or ref to branch from

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb branch default

Get or set repository default branch

Get or set repository default branch

Usage:
  bb branch default [command]

Available Commands:
  get         Get repository default branch
  set         Set repository default branch

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb branch default [command] --help" for more information about a command.

bb branch default get

Get repository default branch

Get repository default branch

Usage:
  bb branch default get [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb branch default set

Set repository default branch

Set repository default branch

Usage:
  bb branch default set <name> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb branch delete

Delete repository branch

Delete repository branch

Usage:
  bb branch delete <name> [flags]

Flags:
      --end-point string   Expected commit at branch tip

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb branch list

List repository branches

List repository branches

Usage:
  bb branch list [flags]

Flags:
      --base string       Base ref filter
      --details           Include branch details from Bitbucket
      --filter string     Filter text for branch names
      --order-by string   Branch ordering: ALPHABETICAL or MODIFICATION

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb branch model

Inspect and update branch model-related settings

Inspect and update branch model-related settings

Usage:
  bb branch model [command]

Available Commands:
  inspect     Inspect branch refs that contain a commit
  update      Update repository default branch used by branch model settings

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb branch model [command] --help" for more information about a command.

bb branch model inspect

Inspect branch refs that contain a commit

Inspect branch refs that contain a commit

Usage:
  bb branch model inspect <commit> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb branch model update

Update repository default branch used by branch model settings

Update repository default branch used by branch model settings

Usage:
  bb branch model update <default-branch> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb branch restriction

Manage repository branch restrictions

Manage repository branch restrictions

Usage:
  bb branch restriction [command]

Available Commands:
  create      Create branch restriction
  delete      Delete branch restriction
  get         Get branch restriction by id
  list        List branch restrictions
  update      Update branch restriction

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb branch restriction [command] --help" for more information about a command.

bb branch restriction create

Create branch restriction

Create branch restriction

Usage:
  bb branch restriction create [flags]

Flags:
      --access-key-id ints       SSH access key id allowed by restriction (repeatable)
      --group strings            Group name allowed by restriction (repeatable)
      --matcher-display string   Matcher display value
      --matcher-id string        Matcher id value
      --matcher-type string      Matcher type (default "BRANCH")
      --type string              Restriction type
      --user strings             User slug allowed by restriction (repeatable)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb branch restriction delete

Delete branch restriction

Delete branch restriction

Usage:
  bb branch restriction delete <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb branch restriction get

Get branch restriction by id

Get branch restriction by id

Usage:
  bb branch restriction get <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb branch restriction list

List branch restrictions

List branch restrictions

Usage:
  bb branch restriction list [flags]

Flags:
      --matcher-id string     Matcher id value
      --matcher-type string   Matcher type (BRANCH, MODEL_BRANCH, MODEL_CATEGORY, PATTERN)
      --type string           Restriction type (read-only, no-deletes, fast-forward-only, pull-request-only, no-creates)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb branch restriction update

Update branch restriction

Update branch restriction

Usage:
  bb branch restriction update <id> [flags]

Flags:
      --access-key-id ints       SSH access key id allowed by restriction (repeatable)
      --group strings            Group name allowed by restriction (repeatable)
      --matcher-display string   Matcher display value
      --matcher-id string        Matcher id value
      --matcher-type string      Matcher type (default "BRANCH")
      --type string              Restriction type
      --user strings             User slug allowed by restriction (repeatable)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb browse

Open repository pages in a web browser

Open repository pages in a web browser

Usage:
  bb browse [<number> | <path> | <commit-sha>] [flags]

Flags:
      --blame           Open blame view for a file
  -b, --branch string   Select another branch
  -c, --commit string   Select another commit
  -n, --no-browser      Print destination URL instead of opening the browser
  -r, --releases        Open repository tags/releases view
  -R, --repo string     Repository as [HOST/]PROJECT/slug (defaults to inferred repository context)
  -s, --settings        Open repository settings

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb build

Build status and required merge-check commands

Build status and required merge-check commands

Usage:
  bb build [command]

Available Commands:
  delete      Delete repository-scoped build status by key
  get         Get repository-scoped build status by key
  required    Required build merge-check management
  set         Set repository-scoped build status for a commit
  status      Build status commands by commit

Flags:
      --repo string   Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb build [command] --help" for more information about a command.

bb build delete

Delete repository-scoped build status by key

Delete repository-scoped build status by key

Usage:
  bb build delete <commit> [flags]

Flags:
      --key string   Build status key

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb build get

Get repository-scoped build status by key

Get repository-scoped build status by key

Usage:
  bb build get <commit> [flags]

Flags:
      --key string   Build status key

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb build required

Required build merge-check management

Required build merge-check management

Usage:
  bb build required [command]

Available Commands:
  create      Create required build merge check
  delete      Delete required build merge check
  list        List required build merge checks
  update      Update required build merge check

Flags:
      --limit int   Page size for list operations (default 25)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb build required [command] --help" for more information about a command.

bb build required create

Create required build merge check

Create required build merge check

Usage:
  bb build required create [flags]

Flags:
      --body string   Raw JSON payload for required build merge check

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb build required delete

Delete required build merge check

Delete required build merge check

Usage:
  bb build required delete <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb build required list

List required build merge checks

List required build merge checks

Usage:
  bb build required list [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb build required update

Update required build merge check

Update required build merge check

Usage:
  bb build required update <id> [flags]

Flags:
      --body string   Raw JSON payload for required build merge check

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb build set

Set repository-scoped build status for a commit

Set repository-scoped build status for a commit

Usage:
  bb build set <commit> [flags]

Flags:
      --build-number string   Build number
      --description string    Build description
      --duration-ms int       Duration in milliseconds
      --key string            Build status key
      --name string           Build display name
      --parent string         Build parent key
      --ref string            Build ref
      --state string          Build state (SUCCESSFUL, FAILED, INPROGRESS, UNKNOWN, CANCELLED)
      --url string            Build URL

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb build status

Build status commands by commit

Build status commands by commit

Usage:
  bb build status [command]

Available Commands:
  get         Get build statuses for a commit
  set         Set build status for a commit
  stats       Get build status summary counts for one or more commits

Flags:
      --include-unique    Include unique result details when available
      --limit int         Page size for list operations (default 25)
      --order-by string   Order by NEWEST, OLDEST, or STATUS

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb build status [command] --help" for more information about a command.

bb build status get

Get build statuses for a commit

Get build statuses for a commit

Usage:
  bb build status get <commit> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --include-unique           Include unique result details when available
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --order-by string          Order by NEWEST, OLDEST, or STATUS
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb build status set

Set build status for a commit

Set build status for a commit

Usage:
  bb build status set <commit> [flags]

Flags:
      --build-number string   Build number
      --description string    Build description
      --duration-ms int       Duration in milliseconds
      --key string            Build status key
      --name string           Build display name
      --parent string         Build parent key
      --ref string            Build ref
      --state string          Build state (SUCCESSFUL, FAILED, INPROGRESS, UNKNOWN)
      --url string            Build URL

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --include-unique           Include unique result details when available
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --order-by string          Order by NEWEST, OLDEST, or STATUS
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb build status stats

Get build status summary counts for one or more commits

Get build status summary counts for one or more commits

Usage:
  bb build status stats <commit>... [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --include-unique           Include unique result details when available
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --order-by string          Order by NEWEST, OLDEST, or STATUS
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb bulk

Plan and apply multi-repository policies

Plan and apply multi-repository policies

Usage:
  bb bulk [command]

Available Commands:
  apply       Apply operations from a reviewed bulk plan
  plan        Resolve a bulk policy into a deterministic reviewed plan
  status      Show the saved status for a prior bulk apply operation

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb bulk [command] --help" for more information about a command.

bb bulk apply

Apply operations from a reviewed bulk plan

Apply operations from a reviewed bulk plan

Usage:
  bb bulk apply [flags]

Flags:
      --from-plan string   Path to reviewed bulk plan JSON file

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb bulk plan

Resolve a bulk policy into a deterministic reviewed plan

Resolve a bulk policy into a deterministic reviewed plan

Usage:
  bb bulk plan [flags]

Flags:
  -f, --file string     Path to bulk policy YAML file
  -o, --output string   Optional path to write the reviewed plan JSON artifact

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb bulk status

Show the saved status for a prior bulk apply operation

Show the saved status for a prior bulk apply operation

Usage:
  bb bulk status <operation-id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb clone

Clone a repository to the local filesystem

Clone a repository to the local filesystem

Usage:
  bb clone <repository> [directory] [-- <gitflags>...] [flags]

Flags:
      --https                         Use HTTPS only and skip the SSH clone attempt
      --no-upstream                   Do not add an upstream remote when cloning a fork
      --ssh                           Use SSH only and disable HTTPS fallback
  -u, --upstream-remote-name string   Upstream remote name when cloning a fork (default "upstream")

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb commit

Commit inspection and compare commands

Commit inspection and compare commands

Usage:
  bb commit [command]

Available Commands:
  compare     Compare two commits or refs
  get         Get a specific commit
  list        List repository commits
  prs         List pull requests containing a commit

Flags:
      --limit int     Page size for list operations (default 25)
      --repo string   Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --start int     Start offset for list operations

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb commit [command] --help" for more information about a command.

bb commit compare

Compare two commits or refs

Compare two commits or refs

Usage:
  bb commit compare <from> <to> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb commit get

Get a specific commit

Get a specific commit

Usage:
  bb commit get <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb commit list

List repository commits

List repository commits

Usage:
  bb commit list [flags]

Flags:
      --jira string   List commits associated with a Jira issue key
      --path string   Filter commits by file path

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb commit prs

List pull requests containing a commit

List pull requests containing a commit

Usage:
  bb commit prs <commitId> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb deployment

Manage repository-scoped deployments for commits

Manage repository-scoped deployments for commits

Usage:
  bb deployment [command]

Available Commands:
  create      Create or update a repository-scoped deployment for a commit
  delete      Delete repository-scoped deployment for a commit
  get         Get repository-scoped deployment details for a commit

Flags:
      --repo string   Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb deployment [command] --help" for more information about a command.

bb deployment create

Create or update a repository-scoped deployment for a commit

Create or update a repository-scoped deployment for a commit

Usage:
  bb deployment create <commit> [flags]

Flags:
      --deployment-sequence-number int   Sequence number of the deployment
      --description string               Description of the deployment
      --display-name string              Display name of the deployment
      --env-key string                   Environment key
      --env-name string                  Environment display name
      --env-type string                  Environment type (DEVELOPMENT, TESTING, STAGING, PRODUCTION)
      --env-url string                   Environment URL
      --key string                       Deployment key
      --state string                     Deployment state (SUCCESSFUL, FAILED, IN_PROGRESS, PENDING, CANCELLED, ROLLED_BACK, UNKNOWN)
      --url string                       Deployment URL

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb deployment delete

Delete repository-scoped deployment for a commit

Delete repository-scoped deployment for a commit

Usage:
  bb deployment delete <commit> [flags]

Flags:
      --deployment-sequence-number string   Identify by deployment sequence number
      --env-key string                      Identify by environment key
      --key string                          Identify by deployment key

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb deployment get

Get repository-scoped deployment details for a commit

Get repository-scoped deployment details for a commit

Usage:
  bb deployment get <commit> [flags]

Flags:
      --deployment-sequence-number string   Filter by deployment sequence number
      --env-key string                      Filter by environment key
      --key string                          Filter by deployment key

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb diff

Diff and patch commands

Diff and patch commands

Usage:
  bb diff [command]

Available Commands:
  commit      Diff a commit against its parent
  pr          Diff a pull request
  refs        Diff two refs or commits

Flags:
      --repo string   Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb diff [command] --help" for more information about a command.

bb diff commit

Diff a commit against its parent

Diff a commit against its parent

Usage:
  bb diff commit <sha> [flags]

Flags:
      --path string   Optional file path for file-scoped diff

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb diff pr

Diff a pull request

Diff a pull request

Usage:
  bb diff pr <id> [flags]

Flags:
      --name-only   Output only changed file names
      --patch       Output unified patch stream
      --stat        Output structured diff stats

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb diff refs

Diff two refs or commits

Diff two refs or commits

Usage:
  bb diff refs <from> <to> [flags]

Flags:
      --name-only     Output only changed file names
      --patch         Output unified patch stream
      --path string   Optional file path for file-scoped diff
      --stat          Output structured diff stats

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb hook

Manage repository/project hooks

Manage repository/project hooks

Usage:
  bb hook [command]

Available Commands:
  configure   Configure hook settings
  disable     Disable a hook
  enable      Enable a hook
  list        List hooks

Flags:
      --project string   Project key
      --repo string      Repository as PROJECT/slug

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb hook [command] --help" for more information about a command.

bb hook configure

Configure hook settings

Configure hook settings using JSON from argument, file (--config-file), or stdin (-)

Usage:
  bb hook configure <hook-key> [settings-json] [flags]

Flags:
      --config-file string   JSON file containing hook settings

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key
      --repo string              Repository as PROJECT/slug
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb hook disable

Disable a hook

Disable a hook

Usage:
  bb hook disable <hook-key> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key
      --repo string              Repository as PROJECT/slug
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb hook enable

Enable a hook

Enable a hook

Usage:
  bb hook enable <hook-key> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key
      --repo string              Repository as PROJECT/slug
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb hook list

List hooks

List hooks

Usage:
  bb hook list [flags]

Flags:
      --limit int   Maximum number of hooks to list (default 25)
      --start int   Start offset for list operations

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key
      --repo string              Repository as PROJECT/slug
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb insights

Code Insights report and annotation commands

Code Insights report and annotation commands

Usage:
  bb insights [command]

Available Commands:
  annotation  Code Insights annotation commands
  report      Code Insights report commands

Flags:
      --repo string   Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb insights [command] --help" for more information about a command.

bb insights annotation

Code Insights annotation commands

Code Insights annotation commands

Usage:
  bb insights annotation [command]

Available Commands:
  add         Add annotations to a Code Insights report
  delete      Delete annotation(s) by external id for a report
  list        List annotations for a Code Insights report or commit
  set         Create or replace a Code Insights report annotation

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb insights annotation [command] --help" for more information about a command.

bb insights annotation add

Add annotations to a Code Insights report

Add annotations to a Code Insights report

Usage:
  bb insights annotation add <commit> <key> [flags]

Flags:
      --body string   Raw JSON array payload for annotations

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb insights annotation delete

Delete annotation(s) by external id for a report

Delete annotation(s) by external id for a report

Usage:
  bb insights annotation delete <commit> <key> [flags]

Flags:
      --external-id string   External annotation ID to delete

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb insights annotation list

List annotations for a Code Insights report or commit

List annotations for a Code Insights report or commit

Usage:
  bb insights annotation list <commit> [key] [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb insights annotation set

Create or replace a Code Insights report annotation

Create or replace a Code Insights report annotation

Usage:
  bb insights annotation set <commit> <key> <external-id> [flags]

Flags:
      --line int32        Line number containing the annotation
      --link string       Link associated with the annotation
      --message string    Annotation message
      --path string       File path containing the annotation
      --severity string   Annotation severity: LOW, MEDIUM, HIGH
      --type string       Annotation type: BUG, CODE_SMELL, VULNERABILITY

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb insights report

Code Insights report commands

Code Insights report commands

Usage:
  bb insights report [command]

Available Commands:
  delete      Delete a Code Insights report
  get         Get a Code Insights report
  list        List Code Insights reports for a commit
  set         Create or update a Code Insights report

Flags:
      --limit int   Page size for list operations (default 25)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb insights report [command] --help" for more information about a command.

bb insights report delete

Delete a Code Insights report

Delete a Code Insights report

Usage:
  bb insights report delete <commit> <key> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb insights report get

Get a Code Insights report

Get a Code Insights report

Usage:
  bb insights report get <commit> <key> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb insights report list

List Code Insights reports for a commit

List Code Insights reports for a commit

Usage:
  bb insights report list <commit> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb insights report set

Create or update a Code Insights report

Create or update a Code Insights report

Usage:
  bb insights report set <commit> <key> [flags]

Flags:
      --body string   Raw JSON payload for Code Insights report

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr

Pull request commands

Pull request commands

Usage:
  bb pr [command]

Available Commands:
  activity          Pull request activity commands
  auto-merge        Pull request auto-merge commands (Bitbucket DC 8.0+)
  build             Pull request build status commands
  comment           Pull request comment commands
  commits           List the commits in a pull request
  create            Create a pull request
  decline           Decline a pull request
  default-reviewers List default reviewers and matching conditions for repository
  files             List the files changed in a pull request
  get               Get pull request details
  jira              List Jira issues associated with a pull request
  list              List pull requests
  merge             Merge a pull request
  merge-base        Show the common ancestor commit of a pull request's source and target branches
  participants      Search pull request participants across a repository
  rebase            Rebase a pull request
  reopen            Reopen a pull request
  review            Pull request review commands
  task              Pull request task commands
  unwatch           Unwatch a pull request
  update            Update pull request metadata
  watch             Watch a pull request

Flags:
      --repo string   Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb pr [command] --help" for more information about a command.

bb pr activity

Pull request activity commands

Pull request activity commands. This is an explicit exception to the stable versioned API and is intended only for AI ingestion and debugging.

Usage:
  bb pr activity [command]

Available Commands:
  list        List raw pull request activity items

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb pr activity [command] --help" for more information about a command.

bb pr activity list

List raw pull request activity items

List raw pull request activity items. This output is an explicit exception to the stable versioned API and is intended only for AI ingestion and debugging.

Usage:
  bb pr activity list <id> [flags]

Flags:
      --limit int   Page size for pull request activity list operations (default 25)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr auto-merge

Pull request auto-merge commands (Bitbucket DC 8.0+)

Pull request auto-merge commands (Bitbucket DC 8.0+)

Usage:
  bb pr auto-merge [command]

Available Commands:
  disable     Disable auto-merge on a pull request
  enable      Enable auto-merge on a pull request
  get         Get auto-merge configuration for a pull request

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb pr auto-merge [command] --help" for more information about a command.

bb pr auto-merge disable

Disable auto-merge on a pull request

Disable auto-merge on a pull request

Usage:
  bb pr auto-merge disable <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr auto-merge enable

Enable auto-merge on a pull request

Enable auto-merge on a pull request

Usage:
  bb pr auto-merge enable <id> [flags]

Examples:
  # Enable auto-merge with the default strategy (no-ff)
  bb pr auto-merge enable 42 --repo PROJ/repo

  # Enable auto-merge with a specific strategy
  bb pr auto-merge enable 42 --repo PROJ/repo --strategy rebase-ff-only

Flags:
      --strategy string   Merge strategy: no-ff, ff-only, rebase-no-ff, rebase-ff-only, squash, squash-ff-only (default "no-ff")

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr auto-merge get

Get auto-merge configuration for a pull request

Get auto-merge configuration for a pull request

Usage:
  bb pr auto-merge get <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr build

Pull request build status commands

Pull request build status commands

Usage:
  bb pr build [command]

Available Commands:
  status      Show build statuses for a pull request's source commit

Flags:
      --limit int   Page size for build status results (default 25)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb pr build [command] --help" for more information about a command.

bb pr build status

Show build statuses for a pull request's source commit

Show build statuses for a pull request's source commit

Usage:
  bb pr build status <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for build status results (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr comment

Pull request comment commands

Pull request comment commands

Usage:
  bb pr comment [command]

Available Commands:
  add              Add a comment to a pull request
  apply-suggestion Apply a suggested change from a comment
  get              Get a pull request comment
  list             List comments for a pull request
  react            Add or remove a reaction on a pull request comment

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb pr comment [command] --help" for more information about a command.

bb pr comment add

Add a comment to a pull request

Add a comment to a pull request

Usage:
  bb pr comment add <pr-id> [flags]

Flags:
      --blocker       Mark the comment as a blocker
      --pending       Mark the comment as pending (draft)
      --text string   Comment text

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr comment apply-suggestion

Apply a suggested change from a comment

Apply a suggested change from a comment

Usage:
  bb pr comment apply-suggestion <pr-id> <comment-id> [flags]

Flags:
      --comment-version int32   Optional expected version of the comment
      --commit-message string   Optional commit message for the suggestion application
      --index int32             Optional index of the suggestion in the comment (default 0)
      --pr-version int32        Optional expected version of the pull request

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr comment get

Get a pull request comment

Get a single pull request comment by id. This is the authoritative single-comment view and is better suited than list output when you need the full rendered comment payload.

Usage:
  bb pr comment get <pr-id> <comment-id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr comment list

List comments for a pull request

List pull request comments. Without --path this uses the pull request activity timeline to return the aggregate comment view. With --path it uses the path-scoped comments endpoint. With --blocker it lists blocker comments.

Usage:
  bb pr comment list <id> [flags]

Flags:
      --blocker       List pull request blocker comments
      --limit int     Page size for pull request comment list operations (default 25)
      --path string   Optional file path for path-scoped pull request comment listing

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr comment react

Add or remove a reaction on a pull request comment

Add or remove a reaction on a pull request comment

Usage:
  bb pr comment react <pr-id> <comment-id> <emoji> [flags]

Flags:
      --remove   Remove the reaction instead of adding it

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr commits

List the commits in a pull request

List the commits in a pull request

Usage:
  bb pr commits <id> [flags]

Flags:
      --limit int   Page size for the pull request commit listing (default 25)
      --start int   Start offset for the pull request commit listing

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr create

Create a pull request

Create a pull request

Usage:
  bb pr create [flags]

Examples:
  # Create a pull request
  bb pr create --repo PROJ/repo --from-ref feature/x --to-ref main --title "My change"

  # Create a draft pull request (Bitbucket DC 8.0+)
  bb pr create --repo PROJ/repo --from-ref feature/x --to-ref main --title "My change" --draft

  # Create a pull request and assign reviewers (repeatable or comma-separated)
  bb pr create --repo PROJ/repo --from-ref feature/x --to-ref main --title "My change" --reviewers alice,bob

Flags:
      --description string   Pull request description
      --draft                Create as a draft pull request (Bitbucket DC 8.0+)
      --from-ref string      Source branch (name or refs/heads/name)
      --reviewers strings    Reviewer usernames to add (repeatable or comma-separated, e.g. --reviewers alice,bob)
      --title string         Pull request title
      --to-ref string        Target branch (name or refs/heads/name)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr decline

Decline a pull request

Decline a pull request

Usage:
  bb pr decline <id> [flags]

Flags:
      --version int   Expected pull request version

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr default-reviewers

List default reviewers and matching conditions for repository

List default reviewers and matching conditions for repository

Usage:
  bb pr default-reviewers [flags]

Flags:
      --source-ref string       The ID of the source ref (e.g. refs/heads/feature)
      --source-repo-id string   The ID of the repository in which the source ref exists
      --target-ref string       The ID of the target ref (e.g. refs/heads/master)
      --target-repo-id string   The ID of the repository in which the target ref exists

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr files

List the files changed in a pull request

List the files changed in a pull request

Usage:
  bb pr files <id> [flags]

Aliases:
  files, changes

Flags:
      --limit int   Page size for the pull request change listing (default 25)
      --start int   Start offset for the pull request change listing

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr get

Get pull request details

Get pull request details

Usage:
  bb pr get <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr jira

List Jira issues associated with a pull request

List Jira issues associated with a pull request

Usage:
  bb pr jira <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr list

List pull requests

List pull requests

Usage:
  bb pr list [flags]

Flags:
      --limit int              Page size for Bitbucket pull request list operations (default 25)
      --source-branch string   Optional source branch filter
      --start int              Start offset for Bitbucket pull request list operations
      --state string           Pull request state filter: open, closed, all (default "open")
      --target-branch string   Optional target branch filter

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr merge

Merge a pull request

Merge a pull request

Usage:
  bb pr merge <id> [flags]

Flags:
      --version int   Expected pull request version

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr merge-base

Show the common ancestor commit of a pull request's source and target branches

Show the common ancestor commit of a pull request's source and target branches

Usage:
  bb pr merge-base <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr participants

Search pull request participants across a repository

Search pull request participants across a repository

Usage:
  bb pr participants [flags]

Flags:
      --search string   Query filter (checks username, name, or email)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr rebase

Rebase a pull request

Rebase a pull request

Usage:
  bb pr rebase <id> [flags]

Flags:
      --version int   Expected pull request version

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr reopen

Reopen a pull request

Reopen a pull request

Usage:
  bb pr reopen <id> [flags]

Flags:
      --version int   Expected pull request version

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr review

Pull request review commands

Pull request review commands

Usage:
  bb pr review [command]

Available Commands:
  approve     Approve a pull request
  complete    Publish draft comments and optionally submit a status change
  discard     Discard all draft comments and cancel review
  get         Retrieve current draft review details
  reviewer    Manage pull request reviewers
  unapprove   Remove pull request approval

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb pr review [command] --help" for more information about a command.

bb pr review approve

Approve a pull request

Approve a pull request

Usage:
  bb pr review approve <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr review complete

Publish draft comments and optionally submit a status change

Publish draft comments and optionally submit a status change

Usage:
  bb pr review complete <id> [flags]

Flags:
      --comment string   Review completion comment text
      --status string    Pull request status change (APPROVED, NEEDS_WORK, UNAPPROVED)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr review discard

Discard all draft comments and cancel review

Discard all draft comments and cancel review

Usage:
  bb pr review discard <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr review get

Retrieve current draft review details

Retrieve current draft review details

Usage:
  bb pr review get <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr review reviewer

Manage pull request reviewers

Manage pull request reviewers

Usage:
  bb pr review reviewer [command]

Available Commands:
  add         Add a reviewer
  remove      Remove a reviewer

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb pr review reviewer [command] --help" for more information about a command.

bb pr review reviewer add

Add a reviewer

Add a reviewer

Usage:
  bb pr review reviewer add <id> [flags]

Flags:
      --user string   Reviewer username

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr review reviewer remove

Remove a reviewer

Remove a reviewer

Usage:
  bb pr review reviewer remove <id> [flags]

Flags:
      --user string   Reviewer username

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr review unapprove

Remove pull request approval

Remove pull request approval

Usage:
  bb pr review unapprove <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr task

Pull request task commands

Pull request task commands

Usage:
  bb pr task [command]

Available Commands:
  create      Create a task on a pull request
  delete      Delete a task from a pull request
  list        List tasks for a pull request
  update      Update a task on a pull request

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb pr task [command] --help" for more information about a command.

bb pr task create

Create a task on a pull request

Create a task on a pull request

Usage:
  bb pr task create <id> [flags]

Flags:
      --text string   Task text

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr task delete

Delete a task from a pull request

Delete a task from a pull request

Usage:
  bb pr task delete <id> [flags]

Flags:
      --task string   Task ID
      --version int   Expected task version

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr task list

List tasks for a pull request

List tasks for a pull request

Usage:
  bb pr task list <id> [flags]

Flags:
      --limit int      Page size for task list operations (default 25)
      --start int      Start offset for task list operations
      --state string   Task state filter: open, resolved, all (default "open")

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr task update

Update a task on a pull request

Update a task on a pull request

Usage:
  bb pr task update <id> [flags]

Flags:
      --resolved      Mark task as resolved/unresolved
      --task string   Task ID
      --text string   Task text
      --version int   Expected task version

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr unwatch

Unwatch a pull request

Unwatch a pull request

Usage:
  bb pr unwatch <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr update

Update pull request metadata

Update pull request metadata

Usage:
  bb pr update <id> [flags]

Examples:
  # Update title and description
  bb pr update 42 --repo PROJ/repo --version 1 --title "New title"

  # Mark a draft PR as ready for review
  bb pr update 42 --repo PROJ/repo --version 1 --draft=false

  # Convert an open PR to draft
  bb pr update 42 --repo PROJ/repo --version 1 --draft

Flags:
      --description string   Updated pull request description
      --draft                Set draft state: --draft to mark as draft, --draft=false to mark as ready for review
      --title string         Updated pull request title
      --version int          Expected pull request version

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb pr watch

Watch a pull request

Watch a pull request

Usage:
  bb pr watch <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to inferred repository context; otherwise requires BITBUCKET_PROJECT_KEY and BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb project

Project administration commands

Project administration commands

Usage:
  bb project [command]

Available Commands:
  branch-restriction Manage project branch restrictions
  create             Create a new project
  default-task       Manage project default checklist tasks
  delete             Delete a project
  get                Get project details
  list               List projects
  permissions        Project permissions
  update             Update project details
  webhook            Manage project webhooks

Flags:
      --limit int   Page size for list operations (default 25)
      --start int   Start offset for list operations

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb project [command] --help" for more information about a command.

bb project branch-restriction

Manage project branch restrictions

Manage project branch restrictions

Usage:
  bb project branch-restriction [command]

Available Commands:
  create      Create a new project-level restriction
  delete      Delete a project restriction
  get         Get details of a single branch restriction
  list        List all project branch restrictions
  update      Update an existing restriction

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb project branch-restriction [command] --help" for more information about a command.

bb project branch-restriction create

Create a new project-level restriction

Create a new project-level restriction

Usage:
  bb project branch-restriction create <project-key> [flags]

Flags:
      --access-key-id ints       Allowed SSH access key IDs
      --group strings            Allowed group names
      --matcher-display string   Matcher display value
      --matcher-id string        Matcher id value
      --matcher-type string      Matcher type (default "BRANCH")
      --type string              Restriction type
      --user strings             Allowed user slugs

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project branch-restriction delete

Delete a project restriction

Delete a project restriction

Usage:
  bb project branch-restriction delete <project-key> <restriction-id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project branch-restriction get

Get details of a single branch restriction

Get details of a single branch restriction

Usage:
  bb project branch-restriction get <project-key> <restriction-id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project branch-restriction list

List all project branch restrictions

List all project branch restrictions

Usage:
  bb project branch-restriction list <project-key> [flags]

Flags:
      --matcher-id string     Filter by matcher ID value
      --matcher-type string   Filter by matcher type (BRANCH, PATTERN, MODEL_BRANCH, MODEL_CATEGORY)
      --type string           Filter by restriction type (read-only, no-deletes, fast-forward-only, pull-request-only, no-creates)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project branch-restriction update

Update an existing restriction

Update an existing restriction

Usage:
  bb project branch-restriction update <project-key> <restriction-id> [flags]

Flags:
      --access-key-id ints       Allowed SSH access key IDs
      --group strings            Allowed group names
      --matcher-display string   Matcher display value
      --matcher-id string        Matcher id value
      --matcher-type string      Matcher type
      --type string              Restriction type
      --user strings             Allowed user slugs

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project create

Create a new project

Create a new project

Usage:
  bb project create <key> [flags]

Flags:
      --description string   Project description
      --name string          Project name (required)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project default-task

Manage project default checklist tasks

Manage project default checklist tasks

Usage:
  bb project default-task [command]

Available Commands:
  add         Add a default checklist task
  delete      Delete a default checklist task
  list        List all default checklist tasks for the project
  update      Update a default checklist task

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb project default-task [command] --help" for more information about a command.

bb project default-task add

Add a default checklist task

Add a default checklist task

Usage:
  bb project default-task add <project-key> <description> [flags]

Flags:
      --source-ref string   Source ref matcher (e.g. refs/heads/feature/*)
      --target-ref string   Target ref matcher (e.g. refs/heads/master)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project default-task delete

Delete a default checklist task

Delete a default checklist task

Usage:
  bb project default-task delete <project-key> <task-id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project default-task list

List all default checklist tasks for the project

List all default checklist tasks for the project

Usage:
  bb project default-task list <project-key> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project default-task update

Update a default checklist task

Update a default checklist task

Usage:
  bb project default-task update <project-key> <task-id> [flags]

Flags:
      --description string   New task description
      --source-ref string    New source ref matcher
      --target-ref string    New target ref matcher

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project delete

Delete a project

Delete a project

Usage:
  bb project delete <key> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project get

Get project details

Get project details

Usage:
  bb project get <key> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project list

List projects

List projects

Usage:
  bb project list [flags]

Flags:
      --name string   Filter projects by name

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project permissions

Project permissions

Project permissions

Usage:
  bb project permissions [command]

Available Commands:
  groups      Group permissions
  show        Show the caller's effective permissions on a project
  users       User permissions

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb project permissions [command] --help" for more information about a command.

bb project permissions groups

Group permissions

Group permissions

Usage:
  bb project permissions groups [command]

Available Commands:
  grant       Grant a project permission to a group
  list        List groups with project permissions
  revoke      Revoke a project permission from a group

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb project permissions groups [command] --help" for more information about a command.

bb project permissions groups grant

Grant a project permission to a group

Grant a project permission to a group

Usage:
  bb project permissions groups grant <key> <group> <permission> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project permissions groups list

List groups with project permissions

List groups with project permissions

Usage:
  bb project permissions groups list <key> [flags]

Flags:
      --limit int   Page size for listing permission groups (default 100)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project permissions groups revoke

Revoke a project permission from a group

Revoke a project permission from a group

Usage:
  bb project permissions groups revoke <key> <group> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project permissions show

Show the caller's effective permissions on a project

Show the caller's effective permissions on a project

Usage:
  bb project permissions show <key> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project permissions users

User permissions

User permissions

Usage:
  bb project permissions users [command]

Available Commands:
  grant       Grant a project permission to a user
  list        List users with project permissions
  revoke      Revoke a project permission from a user

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb project permissions users [command] --help" for more information about a command.

bb project permissions users grant

Grant a project permission to a user

Grant a project permission to a user

Usage:
  bb project permissions users grant <key> <username> <permission> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project permissions users list

List users with project permissions

List users with project permissions

Usage:
  bb project permissions users list <key> [flags]

Flags:
      --limit int   Page size for listing permission users (default 100)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project permissions users revoke

Revoke a project permission from a user

Revoke a project permission from a user

Usage:
  bb project permissions users revoke <key> <username> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project update

Update project details

Update project details

Usage:
  bb project update <key> [flags]

Flags:
      --description string   Project description
      --name string          Project name

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project webhook

Manage project webhooks

Manage project webhooks

Usage:
  bb project webhook [command]

Available Commands:
  create      Create a new project-level webhook
  delete      Delete a project webhook
  list        List all webhooks configured for the project
  stats       Retrieve execution statistics
  test        Trigger a connection test ping
  update      Update a project webhook

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb project webhook [command] --help" for more information about a command.

bb project webhook create

Create a new project-level webhook

Create a new project-level webhook

Usage:
  bb project webhook create <project-key> <name> <url> [flags]

Flags:
      --active          Whether the webhook is active (default true)
      --event strings   Webhook events to subscribe to (default [repo:refs_changed])

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project webhook delete

Delete a project webhook

Delete a project webhook

Usage:
  bb project webhook delete <project-key> <webhook-id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project webhook list

List all webhooks configured for the project

List all webhooks configured for the project

Usage:
  bb project webhook list <project-key> [flags]

Flags:
      --limit int   Maximum number of webhooks to list (default 25)
      --start int   Start index for webhooks listing

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb project webhook stats

Retrieve execution statistics

Retrieve execution statistics

Usage:
  bb project webhook stats <project-key> <webhook-id> [flags]

Flags:
      --summary   Get statistics summary instead of detailed logs

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project webhook test

Trigger a connection test ping

Trigger a connection test ping

Usage:
  bb project webhook test <project-key> <webhook-id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb project webhook update

Update a project webhook

Update a project webhook

Usage:
  bb project webhook update <project-key> <webhook-id> [flags]

Flags:
      --active string   Active status (true or false)
      --event strings   New list of webhook events
      --name string     New name
      --url string      New URL

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb ref

Repository ref resolution and listing commands

Repository ref resolution and listing commands

Usage:
  bb ref [command]

Available Commands:
  list        List repository refs (branches and tags)
  resolve     Resolve a ref by name to its full ref and commit if applicable

Flags:
      --repo string   Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb ref [command] --help" for more information about a command.

bb ref list

List repository refs (branches and tags)

List repository refs (branches and tags)

Usage:
  bb ref list [flags]

Flags:
      --filter string   Filter refs by name

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb ref resolve

Resolve a ref by name to its full ref and commit if applicable

Resolve a ref by name to its full ref and commit if applicable

Usage:
  bb ref resolve <name> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb repo

Repository commands

Repository commands

Usage:
  bb repo [command]

Available Commands:
  admin        Repository administration commands (create/fork/update/delete)
  archive      Download repository archive
  browse       Repository content browsing commands
  cat          Output the raw content of a file over REST
  clone        Clone a repository to the local filesystem
  comment      Comment commands for commits and pull requests
  compare      Compare commits or branches
  default-task Manage repository default checklist tasks
  edit         Edit a file's content over REST
  hook-script  Manage repository hook scripts
  label        Manage repository labels
  list         List repositories
  permissions  Repository permission inspection commands
  settings     Repository settings commands
  ssh-key      Manage project or repository SSH access keys
  sync         Manage repository fork synchronization
  unwatch      Unwatch repository
  watch        Watch repository

Flags:
      --limit int   Maximum number of results to return (default 25)
      --start int   Start offset for list operations

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb repo [command] --help" for more information about a command.

bb repo admin

Repository administration commands (create/fork/update/delete)

Repository administration commands (create/fork/update/delete)

Usage:
  bb repo admin [command]

Available Commands:
  create      Create a new repository
  delete      Delete a repository
  fork        Fork a repository
  update      Update repository metadata

Flags:
      --repo string   Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo admin [command] --help" for more information about a command.

bb repo admin create

Create a new repository

Create a new repository

Usage:
  bb repo admin create [flags]

Flags:
      --default-branch string   Repository default branch
      --description string      Repository description
      --forkable                Repository forkable (default true)
      --name string             Repository name
      --project string          Project key

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo admin delete

Delete a repository

Delete a repository

Usage:
  bb repo admin delete [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo admin fork

Fork a repository

Fork a repository

Usage:
  bb repo admin fork [flags]

Flags:
      --name string      Name of the new fork
      --project string   Project key of the new fork

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo admin update

Update repository metadata

Update repository metadata

Usage:
  bb repo admin update [flags]

Flags:
      --default-branch string   Repository default branch
      --description string      Repository description
      --name string             Repository name

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo archive

Download repository archive

Download repository archive

Usage:
  bb repo archive [flags]

Flags:
      --at string       The commit to stream an archive of
      --format string   The format to stream the archive in: zip, tar, tar.gz, tgz (default "zip")
  -o, --output string   Output filename (use '-' for stdout, defaults to <repo-slug>.<format>)
      --path string     Paths to include in the streamed archive
      --prefix string   A prefix to apply to all entries in the streamed archive
      --repo string     Repository as PROJECT/slug

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo browse

Repository content browsing commands

Repository content browsing commands

Usage:
  bb repo browse [command]

Available Commands:
  blame       Get file blame
  file        Get structured file content
  history     List commit history for a file
  raw         Get raw file content
  tree        List repository files in a directory

Flags:
      --repo string   Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo browse [command] --help" for more information about a command.

bb repo browse blame

Get file blame

Get file blame

Usage:
  bb repo browse blame <path> [flags]

Flags:
      --at string   Commit ID or ref

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo browse file

Get structured file content

Get structured file content

Usage:
  bb repo browse file <path> [flags]

Flags:
      --at string   Commit ID or ref

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo browse history

List commit history for a file

List commit history for a file

Usage:
  bb repo browse history <path> [flags]

Flags:
      --limit int   Page size for history operations (default 25)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo browse raw

Get raw file content

Get raw file content

Usage:
  bb repo browse raw <path> [flags]

Flags:
      --at string   Commit ID or ref

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo browse tree

List repository files in a directory

List repository files in a directory

Usage:
  bb repo browse tree [path] [flags]

Flags:
      --at string   Commit ID or ref to browse
      --limit int   Page size for file listing (default 1000)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo cat

Output the raw content of a file over REST

Output the raw content of a file over REST

Usage:
  bb repo cat <path> [flags]

Flags:
      --at string     Commit ID or ref to cat
      --repo string   Repository as PROJECT/slug

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo clone

Clone a repository to the local filesystem

Clone a repository to the local filesystem

Usage:
  bb repo clone <repository> [directory] [-- <gitflags>...] [flags]

Flags:
      --https                         Use HTTPS only and skip the SSH clone attempt
      --no-upstream                   Do not add an upstream remote when cloning a fork
      --ssh                           Use SSH only and disable HTTPS fallback
  -u, --upstream-remote-name string   Upstream remote name when cloning a fork (default "upstream")

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo comment

Comment commands for commits and pull requests

Comment commands for commits and pull requests

Usage:
  bb repo comment [command]

Available Commands:
  create      Create a comment
  delete      Delete a comment
  list        List comments
  update      Update a comment

Flags:
      --commit string   Commit ID context
      --pr string       Pull request ID context
      --repo string     Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo comment [command] --help" for more information about a command.

bb repo comment create

Create a comment

Create a comment

Usage:
  bb repo comment create [flags]

Flags:
      --text string   Comment text

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --commit string            Commit ID context
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --pr string                Pull request ID context
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo comment delete

Delete a comment

Delete a comment

Usage:
  bb repo comment delete [flags]

Flags:
      --id string       Comment ID
      --version int32   Expected comment version

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --commit string            Commit ID context
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --pr string                Pull request ID context
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo comment list

List comments

List comments

Usage:
  bb repo comment list [flags]

Flags:
      --limit int     Page size for Bitbucket comment list operations (default 25)
      --path string   File path for comment listing scope

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --commit string            Commit ID context
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --pr string                Pull request ID context
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo comment update

Update a comment

Update a comment

Usage:
  bb repo comment update [flags]

Flags:
      --id string       Comment ID
      --text string     Comment text
      --version int32   Expected comment version

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --commit string            Commit ID context
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --pr string                Pull request ID context
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo compare

Compare commits or branches

Compare commits or branches

Usage:
  bb repo compare <from> <to> [flags]

Flags:
      --diff          Show the unified diff of the changes
      --repo string   Repository as PROJECT/slug

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo default-task

Manage repository default checklist tasks

Manage repository default checklist tasks

Usage:
  bb repo default-task [command]

Available Commands:
  add         Add a default checklist task
  delete      Delete a default checklist task
  list        List default checklist tasks
  update      Update a default checklist task

Flags:
      --repo string   Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo default-task [command] --help" for more information about a command.

bb repo default-task add

Add a default checklist task

Add a default checklist task

Usage:
  bb repo default-task add <description> [flags]

Flags:
      --source-ref string   Source ref matcher (e.g. refs/heads/feature/*)
      --target-ref string   Target ref matcher (e.g. refs/heads/master)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo default-task delete

Delete a default checklist task

Delete a default checklist task

Usage:
  bb repo default-task delete <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo default-task list

List default checklist tasks

List default checklist tasks

Usage:
  bb repo default-task list [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo default-task update

Update a default checklist task

Update a default checklist task

Usage:
  bb repo default-task update <id> [flags]

Flags:
      --description string   New task description
      --source-ref string    New source ref matcher
      --target-ref string    New target ref matcher

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo edit

Edit a file's content over REST

Edit a file's content over REST

Usage:
  bb repo edit <path> [flags]

Flags:
      --branch string          The branch on which the file should be modified or created
      --content string         The full content of the file
      --message string         Commit message
      --repo string            Repository as PROJECT/slug
      --source-branch string   Starting point branch
      --source-commit string   Commit ID before editing

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo hook-script

Manage repository hook scripts

Manage repository hook scripts

Usage:
  bb repo hook-script [command]

Available Commands:
  list        List configured hook scripts on a repository
  remove      Remove a hook script configuration from a repository
  set         Configure or update triggers for a hook script on a repository

Flags:
      --repo string   Repository as PROJECT/slug

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo hook-script [command] --help" for more information about a command.

bb repo hook-script list

List configured hook scripts on a repository

List configured hook scripts on a repository

Usage:
  bb repo hook-script list [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo hook-script remove

Remove a hook script configuration from a repository

Remove a hook script configuration from a repository

Usage:
  bb repo hook-script remove <script-id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo hook-script set

Configure or update triggers for a hook script on a repository

Configure or update triggers for a hook script on a repository

Usage:
  bb repo hook-script set <script-id> [flags]

Flags:
      --trigger strings   Trigger IDs to configure for this hook script

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo label

Manage repository labels

Manage repository labels

Usage:
  bb repo label [command]

Available Commands:
  add         Add a repository label
  list        List repository labels
  remove      Remove a repository label

Flags:
      --repo string   Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo label [command] --help" for more information about a command.

bb repo label add

Add a repository label

Add a repository label

Usage:
  bb repo label add <label> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo label list

List repository labels

List repository labels

Usage:
  bb repo label list [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo label remove

Remove a repository label

Remove a repository label

Usage:
  bb repo label remove <label> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo list

List repositories

List repositories

Usage:
  bb repo list [flags]

Flags:
      --project string   Filter by project key

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo permissions

Repository permission inspection commands

Repository permission inspection commands

Usage:
  bb repo permissions [command]

Available Commands:
  show        Show the caller's effective permissions on a repository

Flags:
      --repo string   Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo permissions [command] --help" for more information about a command.

bb repo permissions show

Show the caller's effective permissions on a repository

Show the caller's effective permissions on a repository

Usage:
  bb repo permissions show [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings

Repository settings commands

Repository settings commands

Usage:
  bb repo settings [command]

Available Commands:
  auto-decline  Manage repository auto-decline settings
  auto-merge    Manage repository auto-merge settings
  pull-requests Pull request settings
  security      Security settings
  workflow      Workflow settings

Flags:
      --repo string   Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo settings [command] --help" for more information about a command.

bb repo settings auto-decline

Manage repository auto-decline settings

Manage repository auto-decline settings

Usage:
  bb repo settings auto-decline [command]

Available Commands:
  delete      Delete repository auto-decline settings
  get         Get repository auto-decline settings
  set         Set repository auto-decline settings

Flags:
      --repo string   Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo settings auto-decline [command] --help" for more information about a command.

bb repo settings auto-decline delete

Delete repository auto-decline settings

Delete repository auto-decline settings

Usage:
  bb repo settings auto-decline delete [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings auto-decline get

Get repository auto-decline settings

Get repository auto-decline settings

Usage:
  bb repo settings auto-decline get [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings auto-decline set

Set repository auto-decline settings

Set repository auto-decline settings

Usage:
  bb repo settings auto-decline set [flags]

Flags:
      --enabled                  Enable or disable auto-decline
      --inactivity-weeks int32   Number of inactivity weeks before auto-decline

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings auto-merge

Manage repository auto-merge settings

Manage repository auto-merge settings

Usage:
  bb repo settings auto-merge [command]

Available Commands:
  delete      Delete repository auto-merge settings
  get         Get repository auto-merge settings
  set         Set repository auto-merge settings

Flags:
      --repo string   Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo settings auto-merge [command] --help" for more information about a command.

bb repo settings auto-merge delete

Delete repository auto-merge settings

Delete repository auto-merge settings

Usage:
  bb repo settings auto-merge delete [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings auto-merge get

Get repository auto-merge settings

Get repository auto-merge settings

Usage:
  bb repo settings auto-merge get [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings auto-merge set

Set repository auto-merge settings

Set repository auto-merge settings

Usage:
  bb repo settings auto-merge set [flags]

Flags:
      --enabled   Enable or disable auto-merge

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings pull-requests

Pull request settings

Pull request settings

Usage:
  bb repo settings pull-requests [command]

Available Commands:
  get              Get repository pull-request settings
  merge-checks     Manage repository merge checks
  set-strategy     Set default merge strategy
  update           Update repository pull-request settings
  update-approvers Update required approvers count

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo settings pull-requests [command] --help" for more information about a command.

bb repo settings pull-requests get

Get repository pull-request settings

Get repository pull-request settings

Usage:
  bb repo settings pull-requests get [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings pull-requests merge-checks

Manage repository merge checks

Manage repository merge checks

Usage:
  bb repo settings pull-requests merge-checks [command]

Available Commands:
  list        List configured merge checks

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo settings pull-requests merge-checks [command] --help" for more information about a command.

bb repo settings pull-requests merge-checks list

List configured merge checks

List configured merge checks

Usage:
  bb repo settings pull-requests merge-checks list [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings pull-requests set-strategy

Set default merge strategy

Set default merge strategy

Usage:
  bb repo settings pull-requests set-strategy <strategy-id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings pull-requests update

Update repository pull-request settings

Update repository pull-request settings

Usage:
  bb repo settings pull-requests update [flags]

Flags:
      --required-all-tasks-complete   Require all pull-request tasks to be completed before merge

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings pull-requests update-approvers

Update required approvers count

Update required approvers count

Usage:
  bb repo settings pull-requests update-approvers [flags]

Flags:
      --count int   Required approvers count (0 disables check) (default 2)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings security

Security settings

Security settings

Usage:
  bb repo settings security [command]

Available Commands:
  permissions Repository permissions

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo settings security [command] --help" for more information about a command.

bb repo settings security permissions

Repository permissions

Repository permissions

Usage:
  bb repo settings security permissions [command]

Available Commands:
  groups      Group permissions
  users       User permissions

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo settings security permissions [command] --help" for more information about a command.

bb repo settings security permissions groups

Group permissions

Group permissions

Usage:
  bb repo settings security permissions groups [command]

Available Commands:
  grant       Grant a repository permission to a group
  list        List groups with repository permissions
  revoke      Revoke a repository permission from a group

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo settings security permissions groups [command] --help" for more information about a command.

bb repo settings security permissions groups grant

Grant a repository permission to a group

Grant a repository permission to a group

Usage:
  bb repo settings security permissions groups grant <group> <permission> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings security permissions groups list

List groups with repository permissions

List groups with repository permissions

Usage:
  bb repo settings security permissions groups list [flags]

Flags:
      --limit int   Page size for listing permission groups (default 100)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings security permissions groups revoke

Revoke a repository permission from a group

Revoke a repository permission from a group

Usage:
  bb repo settings security permissions groups revoke <group> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings security permissions users

User permissions

User permissions

Usage:
  bb repo settings security permissions users [command]

Available Commands:
  grant       Grant a repository permission to a user
  list        List users with repository permissions
  revoke      Revoke a repository permission from a user

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo settings security permissions users [command] --help" for more information about a command.

bb repo settings security permissions users grant

Grant a repository permission to a user

Grant a repository permission to a user

Usage:
  bb repo settings security permissions users grant <username> <permission> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings security permissions users list

List users with repository permissions

List users with repository permissions

Usage:
  bb repo settings security permissions users list [flags]

Flags:
      --limit int   Page size for listing permission users (default 100)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings security permissions users revoke

Revoke a repository permission from a user

Revoke a repository permission from a user

Usage:
  bb repo settings security permissions users revoke <username> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings workflow

Workflow settings

Workflow settings

Usage:
  bb repo settings workflow [command]

Available Commands:
  webhooks    Repository webhooks

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo settings workflow [command] --help" for more information about a command.

bb repo settings workflow webhooks

Repository webhooks

Repository webhooks

Usage:
  bb repo settings workflow webhooks [command]

Available Commands:
  create      Create a repository webhook
  delete      Delete a repository webhook
  list        List repository webhooks

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo settings workflow webhooks [command] --help" for more information about a command.

bb repo settings workflow webhooks create

Create a repository webhook

Create a repository webhook

Usage:
  bb repo settings workflow webhooks create <name> <url> [flags]

Flags:
      --active          Whether the webhook is active (default true)
      --event strings   Webhook event(s) to subscribe to (default [repo:refs_changed])

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings workflow webhooks delete

Delete a repository webhook

Delete a repository webhook

Usage:
  bb repo settings workflow webhooks delete <webhook-id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo settings workflow webhooks list

List repository webhooks

List repository webhooks

Usage:
  bb repo settings workflow webhooks list [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo ssh-key

Manage project or repository SSH access keys

Manage project or repository SSH access keys

Usage:
  bb repo ssh-key [command]

Available Commands:
  add         Add a project or repository SSH access key
  list        List project or repository SSH access keys
  remove      Remove a project or repository SSH access key by ID

Flags:
      --project string   Project key for project-level SSH keys
      --repo string      Repository reference (projectKey/repositorySlug) for repository-level SSH keys

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo ssh-key [command] --help" for more information about a command.

bb repo ssh-key add

Add a project or repository SSH access key

Add a project or repository SSH access key

Usage:
  bb repo ssh-key add <key-file-or-text> [flags]

Flags:
      --label string        Label/comment for the SSH key
      --permission string   Permission level (read-only or read-write) (default "read-only")
      --read-only           Add as read-only access key
      --read-write          Add as read-write access key

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key for project-level SSH keys
      --repo string              Repository reference (projectKey/repositorySlug) for repository-level SSH keys
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo ssh-key list

List project or repository SSH access keys

List project or repository SSH access keys

Usage:
  bb repo ssh-key list [flags]

Flags:
      --limit int   Maximum number of SSH access keys to list (default 25)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key for project-level SSH keys
      --repo string              Repository reference (projectKey/repositorySlug) for repository-level SSH keys
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo ssh-key remove

Remove a project or repository SSH access key by ID

Remove a project or repository SSH access key by ID

Usage:
  bb repo ssh-key remove <key-id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key for project-level SSH keys
      --repo string              Repository reference (projectKey/repositorySlug) for repository-level SSH keys
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo sync

Manage repository fork synchronization

Manage repository fork synchronization

Usage:
  bb repo sync [flags]
  bb repo sync [command]

Available Commands:
  disable     Disable automatic background synchronization
  enable      Enable automatic background synchronization
  status      Query synchronization status, divergence, and settings

Flags:
      --repo string   Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

Use "bb repo sync [command] --help" for more information about a command.

bb repo sync disable

Disable automatic background synchronization

Disable automatic background synchronization

Usage:
  bb repo sync disable [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo sync enable

Enable automatic background synchronization

Enable automatic background synchronization

Usage:
  bb repo sync enable [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo sync status

Query synchronization status, divergence, and settings

Query synchronization status, divergence, and settings

Usage:
  bb repo sync status [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo unwatch

Unwatch repository

Unwatch repository

Usage:
  bb repo unwatch [flags]

Flags:
      --repo string   Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb repo watch

Watch repository

Watch repository

Usage:
  bb repo watch [flags]

Flags:
      --repo string   Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Maximum number of results to return (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb reviewer

Manage default reviewers

Manage default reviewers

Usage:
  bb reviewer [command]

Available Commands:
  condition   Manage default reviewer conditions

Flags:
      --config-file string   JSON file containing condition settings
      --project string       Project key
      --repo string          Repository as PROJECT/slug

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb reviewer [command] --help" for more information about a command.

bb reviewer condition

Manage default reviewer conditions

Manage default reviewer conditions

Usage:
  bb reviewer condition [command]

Available Commands:
  create      Create a default reviewer condition
  delete      Delete a default reviewer condition
  list        List default reviewer conditions
  update      Update a default reviewer condition

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --config-file string       JSON file containing condition settings
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key
      --repo string              Repository as PROJECT/slug
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb reviewer condition [command] --help" for more information about a command.

bb reviewer condition create

Create a default reviewer condition

Create a default reviewer condition using JSON from argument, file (--config-file), or stdin (-)

Usage:
  bb reviewer condition create [json-config] [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --config-file string       JSON file containing condition settings
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key
      --repo string              Repository as PROJECT/slug
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb reviewer condition delete

Delete a default reviewer condition

Delete a default reviewer condition

Usage:
  bb reviewer condition delete <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --config-file string       JSON file containing condition settings
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key
      --repo string              Repository as PROJECT/slug
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb reviewer condition list

List default reviewer conditions

List default reviewer conditions

Usage:
  bb reviewer condition list [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --config-file string       JSON file containing condition settings
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key
      --repo string              Repository as PROJECT/slug
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb reviewer condition update

Update a default reviewer condition

Update a default reviewer condition using JSON from argument, file (--config-file), or stdin (-)

Usage:
  bb reviewer condition update <id> [json-config] [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --config-file string       JSON file containing condition settings
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key
      --repo string              Repository as PROJECT/slug
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb reviewer-group

Manage reviewer groups

Manage reviewer groups

Usage:
  bb reviewer-group [command]

Available Commands:
  create      Create a reviewer group
  delete      Delete a reviewer group
  list        List reviewer groups
  update      Update a reviewer group
  users       List users in a repository reviewer group

Flags:
      --project string   Project key
      --repo string      Repository as PROJECT/slug

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb reviewer-group [command] --help" for more information about a command.

bb reviewer-group create

Create a reviewer group

Create a reviewer group

Usage:
  bb reviewer-group create <name> [flags]

Flags:
      --description string   Description of the reviewer group

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key
      --repo string              Repository as PROJECT/slug
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb reviewer-group delete

Delete a reviewer group

Delete a reviewer group

Usage:
  bb reviewer-group delete <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key
      --repo string              Repository as PROJECT/slug
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb reviewer-group list

List reviewer groups

List reviewer groups

Usage:
  bb reviewer-group list [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key
      --repo string              Repository as PROJECT/slug
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb reviewer-group update

Update a reviewer group

Update a reviewer group

Usage:
  bb reviewer-group update <id> [flags]

Flags:
      --description string   New description of the reviewer group
      --name string          New name of the reviewer group

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key
      --repo string              Repository as PROJECT/slug
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb reviewer-group users

List users in a repository reviewer group

List users in a repository reviewer group

Usage:
  bb reviewer-group users <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --project string           Project key
      --repo string              Repository as PROJECT/slug
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Search for repositories, commits, and pull requests

Search for repositories, commits, and pull requests

Usage:
  bb search [command]

Available Commands:
  commits     Search for commits within a repository
  prs         Search for pull requests globally or within a repository
  repos       Search for repositories

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb search [command] --help" for more information about a command.

bb search commits

Search for commits within a repository

Search for commits within a repository

Usage:
  bb search commits [flags]

Flags:
      --limit int       Page size (default 25)
      --merges string   Filter merge commits (exclude, include, only)
      --path string     Filter by file path
      --repo string     Repository as PROJECT/slug (required)
      --since string    Commit ID or ref to search after (exclusive)
      --start int       Pagination start index
      --until string    Commit ID or ref to search before (inclusive)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb search prs

Search for pull requests globally or within a repository

Search for pull requests globally or within a repository

Usage:
  bb search prs [flags]

Flags:
      --limit int      Page size (default 25)
      --repo string    Optional repository as PROJECT/slug to scope search
      --role string    Filter by role (author, reviewer, participant) - only applies when --repo is not used
      --start int      Pagination start index
      --state string   Filter by state (open, closed, all) (default "open")

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb search repos

Search for repositories

Search for repositories

Usage:
  bb search repos [name] [flags]

Flags:
      --limit int        Page size (default 25)
      --project string   Filter by project key
      --start int        Pagination start index

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb ssh-key

Manage personal SSH keys

Manage personal SSH keys

Usage:
  bb ssh-key [command]

Available Commands:
  add         Add a personal SSH key
  list        List personal SSH keys
  remove      Remove a personal SSH key by ID

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb ssh-key [command] --help" for more information about a command.

bb ssh-key add

Add a personal SSH key

Add a personal SSH key

Usage:
  bb ssh-key add <key-file-or-text> [flags]

Flags:
      --label string   Label/comment for the SSH key

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb ssh-key list

List personal SSH keys

List personal SSH keys

Usage:
  bb ssh-key list [flags]

Flags:
      --limit int   Maximum number of SSH keys to list (default 25)
      --start int   Start index for SSH keys listing

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb ssh-key remove

Remove a personal SSH key by ID

Remove a personal SSH key by ID

Usage:
  bb ssh-key remove <key-id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb tag

Repository tag lifecycle commands

Repository tag lifecycle commands

Usage:
  bb tag [command]

Available Commands:
  create      Create repository tag
  delete      Delete repository tag
  list        List repository tags
  view        View repository tag

Flags:
      --filter string     Filter text for tag names
      --limit int         Page size for list operations (default 25)
      --order-by string   Tag ordering: ALPHABETICAL or MODIFICATION
      --repo string       Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --start int         Start offset for list operations

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb tag [command] --help" for more information about a command.

bb tag create

Create repository tag

Create repository tag

Usage:
  bb tag create <name> [flags]

Flags:
      --message string       Optional annotated tag message
      --start-point string   Commit ID or ref to tag

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --filter string            Filter text for tag names
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --order-by string          Tag ordering: ALPHABETICAL or MODIFICATION
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb tag delete

Delete repository tag

Delete repository tag

Usage:
  bb tag delete <name> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --filter string            Filter text for tag names
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --order-by string          Tag ordering: ALPHABETICAL or MODIFICATION
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb tag list

List repository tags

List repository tags

Usage:
  bb tag list [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --filter string            Filter text for tag names
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --order-by string          Tag ordering: ALPHABETICAL or MODIFICATION
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb tag view

View repository tag

View repository tag

Usage:
  bb tag view <name> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --filter string            Filter text for tag names
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --limit int                Page size for list operations (default 25)
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --order-by string          Tag ordering: ALPHABETICAL or MODIFICATION
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)
      --start int                Start offset for list operations

bb update

Check for and install the latest bb release

Check for and install the latest bb release

Usage:
  bb update [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb webhook

Manage repository webhooks

Manage repository webhooks

Usage:
  bb webhook [command]

Available Commands:
  get         Get a repository webhook by ID
  list        List repository webhooks
  stats       Get repository webhook statistics
  test        Test connection to repository webhook URL by sending a ping event
  update      Update a repository webhook

Flags:
      --repo string   Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

Use "bb webhook [command] --help" for more information about a command.

bb webhook get

Get a repository webhook by ID

Get a repository webhook by ID

Usage:
  bb webhook get <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb webhook list

List repository webhooks

List repository webhooks

Usage:
  bb webhook list [flags]

Flags:
      --limit int   Maximum number of webhooks to list (default 25)
      --start int   Start index for webhooks listing

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb webhook stats

Get repository webhook statistics

Get repository webhook statistics

Usage:
  bb webhook stats <id> [flags]

Flags:
      --summary   Get statistics summary instead of detailed stats

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb webhook test

Test connection to repository webhook URL by sending a ping event

Test connection to repository webhook URL by sending a ping event

Usage:
  bb webhook test <id> [flags]

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)

bb webhook update

Update a repository webhook

Update a repository webhook

Usage:
  bb webhook update <id> [flags]

Flags:
      --active string   Active status (true or false)
      --event strings   New list of webhook events to subscribe to
      --name string     New name of the webhook
      --url string      New URL of the webhook

Global Flags:
      --ca-file string           Path to PEM CA bundle for TLS trust
      --dry-run                  Preview server mutations without applying them
      --insecure-skip-verify     Disable TLS certificate verification (unsafe; local/dev only)
      --json                     Output as JSON
      --log-format string        Diagnostics format: text or jsonl
      --log-level string         Diagnostics verbosity: error, warn, info, debug
      --no-color                 Disable colored output
      --repo string              Repository as PROJECT/slug (defaults to BITBUCKET_PROJECT_KEY + BITBUCKET_REPO_SLUG)
      --request-timeout string   HTTP request timeout (Go duration, e.g. 20s)
      --retry-backoff string     Base retry backoff duration (e.g. 250ms)
      --retry-count int          HTTP retry attempts for transient errors (default -1)