Merge Queue Commands
Inspect the merge queues configured on a repository and the pull requests waiting in them. A queue state is one of ACTIVE, PAUSED, DRAINING, SUSPENDED, INACTIVE or UNKNOWN.
bb merge-queue list
Section titled “bb merge-queue list”List merge queues in a repository.
bb merge-queue list [options]Options
Section titled “Options”| Option | Description |
|---|---|
--limit <number> |
Maximum number of items to list (default: 25) |
--all |
List all items (overrides --limit) |
Examples
Section titled “Examples”bb merge-queue listbb merge-queue list --jsonbb merge-queue view
Section titled “bb merge-queue view”View one merge queue: its name, state and UUID.
bb merge-queue view <uuid> [options]Pass the queue UUID from bb merge-queue list, with or without the braces.
Examples
Section titled “Examples”bb merge-queue view {a1b2c3d4-0000-0000-0000-000000000000}bb merge-queue view a1b2c3d4-0000-0000-0000-000000000000 --jsonbb merge-queue prs
Section titled “bb merge-queue prs”List the pull requests in a merge queue, in queue order. The table shows each entry’s rank, pull request, title, status and when it was queued. An entry status is one of QUEUED, PROCESSING, AWAITING_MERGE, MERGE_IN_PROGRESS, REMOVING or UNKNOWN.
bb merge-queue prs <uuid> [options]Options
Section titled “Options”| Option | Description |
|---|---|
--limit <number> |
Maximum number of items to list (default: 25) |
--all |
List all items (overrides --limit) |
With --json, the entries are under queuedPullRequests; each one nests the full pull request under pullrequest.
Examples
Section titled “Examples”bb merge-queue prs {a1b2c3d4-0000-0000-0000-000000000000}bb merge-queue prs a1b2c3d4-0000-0000-0000-000000000000 --all --jsonbb merge-queue remove
Section titled “bb merge-queue remove”Remove a pull request from a merge queue. Bitbucket processes the removal asynchronously, so the entry can show as REMOVING for a moment afterwards.
bb merge-queue remove <uuid> <pr-id> [options]Options
Section titled “Options”| Option | Description |
|---|---|
-y, --yes |
Skip confirmation prompt |
--dry-run |
Print the write request instead of sending it |
Examples
Section titled “Examples”bb merge-queue remove {a1b2c3d4-0000-0000-0000-000000000000} 42bb merge-queue remove a1b2c3d4-0000-0000-0000-000000000000 42 --yes