Can automatically managed Bamboo plan branches trigger from polling without the main plan branch?

My plan branches do not have the same relevant stages as the branch from which they stem from.

Why does my CI plan have to track a main branch; and can I trigger the automatically managed plan branches in a different fashion to the main branch? I do not want the main branch to ever trigger with this plan, but I do want the plan branches to trigger.

If I have to manually update the automatically managed branches to adjust their triggers, this defeats the purpose of having automatically managed branches.

For background, I'm actually following the CI format of Atlassian Connect using jgitflow and I have no desire to repeat the CI on my develop branch multiple times for the same commit. The plan branches have extra stages, such as release finish, which are not relevant to the develop branch, but is relevant to all release branches that stem from it.

Here is the Atlassian video.
http://www.youtube.com/watch?v=yH59FheL1l4

In the original presentation for this, the presenting Atlassian employee originally stated this behaviour was a bug.

2 answers

1 accepted

This widget could not be displayed.

Any branch can be your 'main branch' in Bamboo, which means there's a simple workaround: create a a branch you will never push to, set Bamboo main plan to point to it.

There's an open feature request to support default triggers on plan branches that are different from main branch: https://jira.atlassian.com/browse/BAM-12451Please vote.

Thanks :)

I had done exactly this actually and have a bambooWorkaround branch.


I did try it before raising this question, but must always remember that the plan branches only override the default repository branch. I had hoped simply adding a repo against this dummy branch to the plan and ticking this for my trigger it would be enough - but no, it didn't trigger the branches, as the dummy branch must be the default repo branch for the plans to override it. Maybe this is obvious to others, but once realised it does indeed meet my objective.

Worst thing is, I had already voted on this ticket, but must have forgotten about it! Sorry.

This widget could not be displayed.

any takers?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

131 views 2 0
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