Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automatic merging of hotfix into release branch

Is it possible to enable automatic merging of a hotfix to the release branch when it's integrated into master during a pull request? 

We have the stash branching model activated and are creating a hotfix branch based on the master. As soon as we are finished we would like to merge that into the master branch (pull request) and automatically into the open release and develop branch as well. Currently stash only merge into master and develop, but as from my opinion this should be merged into the release branch as well.

18-02-2015 14-32-41.png

1 answer

0 votes

If I understand it correctly, your branch off from master for the hotfix branch? Why don't you branch off from the release branch in question? Then when you merge the pull request, auto-merge would merge it from release/X -> release/X+1 -> release/X+2 -> ... -> master (production) -> develop?

I know its a older thread, but I would like this functionality as well. To merge a hotfix to release when the hotfix is merged to master.


We are using bitbucket4.14.5, dont see this functionality is there, Am i wrong? 

To Michel, master represents the production code and release branch represents the ongoing release. so production/hotfixes need be branch off from master not release.

Are there any updates to this? I would also like this feature.

@Michael Heemskerk (Posting because this is still a relevant Google result). It looks like your proposed order of branches/merges is not implemented in bitbucket (  Is that correct?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,826 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you