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

Create a specific plan for a specific git branch

Is there a way to create a specific plan for a specific branch?

I tried cloning a plan (to modify it) but the cloned plan won't let me specify a branch to run against.

I created a branch plan but there is no option to change the plan for that branch.

I want the plan for this branch to include a different task than what the main branch 'master' has.

1 answer

You can create plans against a specific branch but it is configured at the repository level. When you create the repository in Bamboo, you pick up the appropriate branch and then you use that repository in the new build plan.

Branch plans will follow the same tasks as that of the master plan and so it won't work.

So it sounds like you're saying there isn't a way to do what I'm asking? 

I looked in the UI again and I can't find a way to create a new plan for a new branch off an existing repository.

I added the repository a second time, called it something else and specified the branch to use in the add repository dialog.

I think this will work. Now I can refer to that linked repo name that has my branch instead of the master or develop branch.

Yes, that is what I meant. You need to pick the repo branch when creating the repo it self. Looks like you have it working now. 

Suggest an answer

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

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

302 views 2 6
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