Skip to main content

Creating and Editing Pull Requests

Creating a Pull Request

Open the Create Pull Request dialog in one of these ways:

  • Click Create Pull Request in the Bitbucket Pull Requests tool window toolbar.
  • Right-click a pull request in the list and select Create Pull Request.

Source repository offers the repository's forks as well, and Destination branch defaults to the repository's main development branch.

When you set or change the source and destination branches, the plugin suggests a Title, Description, and default Reviewers from the commits between the two branches, replacing only the fields you haven't edited yourself.

Mark as draft requires Bitbucket Data Center 8.18 or later. The plugin remembers your last choice for Close the source branch after the pull request is merged (Cloud only).

Title and Description

The description is Markdown, and typing @ mentions a user.

note

On Bitbucket Cloud, attachments can't be added while creating a pull request. Add them afterward from the Info tab of the details panel.

The Actions link next to the Description label offers:

  • Insert Commits at Caret — insert a summary of the commits between the source and destination branches at the cursor position. Available when the source is the repository itself, not a fork.
  • Reset to Default — restore the default description.

Editing a Pull Request

To edit an existing pull request, open it and click Edit Pull Request on the Info tab toolbar. The same dialog opens, pre-filled with the current values.

The source repository can't be changed, and the source branch can be changed on Bitbucket Cloud only.