Fast track hotfix branches through Stash and Bamboo

We've got a setup in which our master branch is always ready to release, and developers create temporary branches per JIRA for their fixes.  Master branch requires a pull request, and therefore nobody can push directly to it.  Pull requests currently require a successful branch build in Bamboo, as well as a peer-review, before we can merge into master branch (which Bamboo then builds and deploys).

I'd like to set Stash/Bamboo up so that a hotfix branch can be merged straight to master, which Bamboo builds tests and deploys without running a branch plan.  Is this possible?

I haven't been able to find a way to create an exception to the rule that requires pull requests for master branch.  Similarly, I'm not sure how to get Bamboo to ignore branches beginning /hotfix (there's no "Do not create plan branches matching" rule).

1 answer

This widget could not be displayed.

Hello @Richard Cross,

You can use regular expression to avoid creation of new branchesnew_branch_regexp.png

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

161 views 1 3
Join discussion

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