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

Pull request to automatic plan branch creation

We have recently begun experimenting with enabling automatic plan branch creation when a pull request gets created.

However, we are struggling with how that then relates to multiple versions of software. Naturally, over time, we have to add/remove some aspect of our build plans.  When we hit one of these times, we currently create a new build plan as a copy of the first and make the appropriate changes to it.  We can create a linked repository that points to the appropriate branch (develop, etc) for the new version.  The old plan remains in case a patch/hotfix is needed.

However, with the pull request branch creation option enabled, now both build plans create a plan branch and run when a pull request is entered.

A more specific example: You have three branches defined:





There is a Bamboo plan pointed to master.  There is another Bamboo plan pointed to develop to build the new components being added.  A pull request then gets entered to merge the feature/add-something branch into develop.

Bamboo then creates feature/add-something plan branches in BOTH the "master" and "develop" plans.  The master one checks out the feature/add-something commit and attempts to build it, failing.

This seems like it would be a common occurrence.  How are others dealing with this type of a situation?



1 answer

0 votes

Hi Adam,

I know this question is a bit old, but I think it worths to link relevant information here. This problem could bee solved with the implementation of the following feature request:

Anyone that thinks this feature is relevant might want to vote on the above feature request to give more visibility to it.


Suggest an answer

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

58 views 0 4
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