Skip to content

bj pr

Manage Bitbucket pull requests.

Synopsis

bj pr <command> [OPTIONS]

Commands

Command Description
create Open a pull request; auto-link and transition the branch's Jira ticket.
edit Edit an open pull request's title, description, target branch or reviewers.
list List pull requests in a repository.
view View a pull request.
diff View the changes in a pull request.
status Show open PRs relevant to you (authored or reviewing).
checkout Check out a pull request's source branch locally.
merge Merge a pull request; transition the linked Jira ticket to done.
review Approve, request changes on, or unapprove a pull request.
comment Comment on a PR: top-level, inline (--file/--line), reply (--reply-to), or manage.
close Decline (close) a pull request.
checks Show the build/commit statuses (CI checks) for a pull request.
ready Mark a draft pull request as ready for review (or --undo back to draft).
reopen Reopen a declined pull request by opening a fresh one from the same branches.
task Manage pull-request tasks (checklist items).

See also