Skip to main content

Pull Request Details

Double-click any pull request in the list to open its details panel. The available tabs depend on the platform:

  • Cloud: Info, Changes, Discussions, Tasks, and Activity.
  • Data Center: Info, Changes, Events & Discussions, and Tasks.

Changes

The Changes tab shows modified files in a tree view. Double-click a file to open the diff.

By default, the tab shows all changes in the pull request. Use the changes filter dropdown to narrow the diff:

FilterDescription
Unreviewed changesChanges since your last reviewed commit. Shown automatically when applicable.
Changes since commitAll changes from a specific commit onward.
Single commitChanges introduced by a single commit.
Commit rangeChanges between two selected commits.

Right-click files in the tree to mark them as reviewed — the reviewed state is stored locally and persists across sessions. Enable Mark Files as Reviewed Automatically to mark each file as you open it, and Show Reviewed File Count to track your progress. The menu also offers Jump to Source and Show/Hide Diff Preview in Tool Window.

Build Status

For open pull requests, the Info tab shows the build status reported for the source branch's latest commit — for example, 3 of 5 passed. The result is color-coded: green when all builds passed, red when any build failed, and gray while builds are still running.

Click the status to open a popup listing the individual builds. Each build shows its name, an optional description, and its state — for example, Passed, Failed, or In Progress. Click a build to open it in Bitbucket.

A build-status icon also appears next to pull requests in the Bitbucket Pull Requests tool window list. Hover over it to see the status.

Code Insights

When a CI tool, linter, or scanner publishes Code Insights to Bitbucket, the plugin surfaces those reports and their findings in the pull request. Available on both Cloud and Data Center.

Reports

The Info tab lists every report attached to the pull request under a collapsible Reports section. Each entry shows the report's title, its result — Passed, Failed, or Pending — and the number of findings.

Click a report to open its findings, grouped by file. Click a finding to jump to the corresponding line in the diff, or use the icon to open it in Bitbucket.

Annotations in the diff

Findings anchored to a line appear as gutter icons on the new side of the diff, each marked according to its severity — Critical, High, Medium, or Low. Hover over an icon to see the finding's severity, type, and message; click it to open the finding in Bitbucket.

Annotations are shown only when the diff's new side is the pull request's source-branch head — the commit the findings were reported against. To hide or show them, right-click the diff gutter and toggle Show Code Insight Annotations, or clear Show Code Insight annotations in diff in Settings | Bitbucket Integration Pro.

Actions

The following actions are available from the details panel toolbar:

ActionDescription
ApproveApprove the pull request.
Request Changes (Cloud) / Needs Work (Data Center)On Cloud, marks the pull request as Changes requested. On Data Center, sets the Needs work status. Run the action again to remove the status.
MergeMerge the pull request. Opens a dialog with options to choose the merge strategy and delete the source branch. Customizing the merge commit message is supported on Cloud, and on Data Center 8.12 or later.
DeclineDecline the pull request. On Cloud, you can provide a reason.
ReopenReopen a declined pull request. Data Center only.
Mark as DraftToggle the pull request's draft status. On Data Center, requires version 8.18 or later.
Refresh Pull RequestReload the pull request from Bitbucket. Also available from the diff viewer, where the action indicates when your local copy is outdated.
Checkout BranchCheck out the source branch locally. Requires the repository to be associated with a local VCS root.
Open in BrowserOpen the pull request on Bitbucket.
Copy LinkCopy the pull request URL to the clipboard.

Customizing the Layout

You can rearrange tabs by dragging them. Drag a tab to the edge of the panel to split it into a separate column — this lets you view, for example, Changes and Comments side by side. Up to three columns are supported in horizontal layout and two in vertical.

Your layout is saved automatically and persists across IDE restarts.