Lesstep
Bitbucket Cloud · merging pull requests · Checked November 10, 2026

Bitbucket Cloud: no Merge button, or a greyed-out one

These are two different things. With no Merge button at all, Bitbucket thinks you may not merge into the destination branch: Atlassian's knowledge base traces it to that branch's restrictions (Merge button is not visible). With a greyed-out Merge button, point at it: Must pass merge checks before merging means a merge check is unmet and the branch is set to block, and the Checks panel on the right of the pull request names which one.

No Merge button

In the IDE: Pull Request Inbox for Bitbucket, a plugin for JetBrains IDEs, shows next to each pull request which merge checks pass and which block the merge, in words, free.

Merge greyed out

Merge pressed, then "Something went wrong"

If the button works but the merge fails with "Something went wrong", Atlassian names a .lock file left on the destination branch in the repository on Bitbucket's side. You can't remove it yourself: contact Atlassian support and ask them to remove the lock file from the pull request's destination branch (Atlassian's knowledge base, Something went wrong error when merging a pull request).

Bitbucket pull requests in IntelliJ IDEA

Pull Request Inbox for Bitbucket, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, lists the pull requests that wait for your review in an IDE tool window, with their diffs and discussions. Next to each pull request it shows the merge checks in words: "1 of 2 approvals", successful builds, open tasks, commits behind the target branch, conflicts, and which of them block the merge. When Bitbucket refuses a merge, the plugin shows Bitbucket's own message in an IDE notification. The review inbox, diffs, discussions and merge checks are free; approving, commenting and merging are Pro, with a 30-day trial. It also works with Bitbucket Data Center (beta).

Get it on JetBrains Marketplace

Bitbucket and Atlassian are trademarks of Atlassian; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with or endorsed by Atlassian or JetBrains.

More: a pull request merged by itself · Merge checks · Merge conflicts · Merge strategies · 日本語