Automatic branch merging for Bitbucket Cloud

Issue #14286 open
Maciej Kucharek
created an issue

Are there any plans on bringing Automatic branch merging feature that is available in Bitbucket Server to the cloud?

We've been thinking on migrating to Bitbucket Cloud but the lack of cascading merges is a bit of a showstopper for our gitflow-based workflow.

Comments (33)

  1. James Rickards

    Probably because you can achieve the same outcome with a little scripting in the CI tool of your choice. e.g. bamboo or bitbucket pipelines, or jenkins.

    Whilst I would like to see this as a feature (and hence voted), I don't see it being a blocker, and there are bigger issues I'd rather see tackled first. e.g. horrid performance of the new user interface.

  2. Kushank Jain

    This does not work for the problem here. I want to solve cascading merges, so if I have a hotfix for release 2.5, it should automatically create a PR or merge for my release 2.6, 2.7 etc.

    Any pointers to how I can achieve this?

  3. Ryan Sullivan

    +1 ...I use bitbucket at work and just moved a personal project to bitbucket cloud from github entirely because of the workflow/automerge feature. Lacking this feature, I am questioning my decision to move.

  4. Marcus Schumann

    So basically, this ticket is about (for example) merging hotfix/ branches to both the current release/ branches in addition to merging it to master branch so that subsequent release/ branches receives the same hotfix?

  5. James Rickards

    I came up with a workaround.

    Use a CI/CD tool (bamboo, jenkins, pipelines) to create a pull request to all open feature branches using bitbucket's REST api.

    Can be done with bash or powershell out of jenkins/bamboo/pipelines with a couple of hours of effort. It also gives more control to the owner of the feature branch to choose when to merge.

    Before you ask... I can't share the code as a client paid for it so it's their IP.

  6. Log in to comment