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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,961 views 7 10
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you