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

0 votes

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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

925 views 3 9
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