Skip to content

Pull requests

You can browse and filter pull requests for your Bitbucket repository from Pull Requests.

To open Pull Request, click DevOps > Pull Requests.

Pull requests are listed numerically and display the following information.

  • Pull request number: The number of the pull request.
  • Pull request name: The name of the pull request.
  • Pull request success badge: The badge that indicates if the pull request passed all automated checks.
  • Timestamp: The amount of time since the pull request was created.

The Pull Requests activity lists the first 30 pull requests in a repository. Click Load more to view more pull requests. Reports and exports become available once every matching pull request is loaded.

To open a pull request in a separate tab, right-click the pull request and click Open in New Tab.

Pull Request view

Click a pull request to open the pull request in the Pull Request view. Click Conversation, Checks, and Changes to change the displayed information of the Pull Request view.

Conversation view

You can view every comment and action of a pull request in the Conversation view. The Conversation view displays the pull request and the following information.

  • State: The status of the pull request, if the pull request is open, closed, or merged.
  • Milestone: The milestones associated with the pull request.
  • Reviewers: The users assigned to review the pull request.
  • Labels: The labels attached to the pull request.
  • Linked issues: The issues linked to the pull request.

Checks view

Checks are not yet available for Bitbucket. Open the merge request on the web to view the pipeline status.

Changes view

Open Changes to view the changed files in a pull request. Use the dropdowns to filter by status or file type, or to show viewed or unviewed files. Type a file name in Filter files to find matching files.

Pull Request report

To open Bitbucket pull request reports, choose DevOps > PR Report and select a report from the Report Gallery. While a report is open, choose Close Report to return to the gallery. Use the filter control to change the pull requests summarized by the report. For details, see Pull request report.

Create a new pull request

Use Generate in the Content header to draft the title and description with Zide. Its label stays visible when the fields contain text. Hover or focus the button to highlight both affected fields. Existing drafts open a review with selectable results, and applied results offer Undo. Review the content before creating the pull request.

To create a new pull request, complete the following steps.

  1. Click DevOps > New Pull Request.
  2. In the New PR tab, select the base and compare branch.
  3. In the Title field, enter the pull request name.
  4. Optional: Add reviewers to the pull request in the Metadata section. Bitbucket labels, milestones, assignees, and templates are not currently supported.
  5. Enter the pull request description in the Description field and click Create Pull Request.

Filter pull requests

By default, the Pull Requests activity displays all open pull requests in a repository. Click the Switch filter dropdown to select a filter template.

Click Show or hide filters to open the filter panel. You can combine filters.

Filter panel actions

In the pull request filter panel, click the following icons to perform a filter action.

IconDescription
SaveSaves the changes to the filter template.
Save AsSaves the changes as a new filter template.
Rename filterRenames the filter template.
Revert to saved stateDiscards changes made to the filter template.
Delete this filterDeletes the filter template.
New filter tabOpens a new Pull Request tab for a new filter template.
Duplicate tabCopies the current filter template to a new Pull Request tab.