Lesstep
Bitbucket Data Center and Cloud · Merging pull requests · October 26, 2026

Bitbucket auto-merge: merge a pull request when checks or builds pass

Instead of coming back to press Merge once the last approval or build arrives, you can let Bitbucket merge the pull request for you. Data Center and Cloud both offer this, in different forms: Data Center has auto-merge (from 8.15), which waits for every merge check; Cloud has a merge check, Allow automatic merge when builds pass, which waits only for builds. From Atlassian's Merge a pull request (Data Center), the 8.15 release notes, the Data Center REST reference and Cloud's Suggest or require checks before a merge.

Data Center: auto-merge

Data Center: the REST API

Cloud: Allow automatic merge when builds pass

Auto-merge in IntelliJ IDEA

Pull Request Inbox for Bitbucket, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, lists the pull requests of Bitbucket Cloud and Bitbucket Data Center in an IDE tool window with their merge checks. From version 1.0.38, on Data Center 8.15 and later with auto-merge turned on, its Merge dialog offers auto-merge while checks block the merge, with the strategy and message you choose. The pull request then says auto-merge is on, with a link to cancel it. It is not offered on Cloud. The review inbox and the merge checks are free; approving, commenting and merging are Pro, with a 30-day trial.

Get it on JetBrains Marketplace

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

More: pull request builds · Bitbucket merge checks · Bitbucket merge strategies · modify a pull request based on out-of-date information (Data Center) · Bitbucket merge queues · Bitbucket pull request plugins for IntelliJ IDEA, compared · 日本語