Currently in my setup I can successfuly able to have branches automatically created from my Git repository and the associated Branch Plans automatically created and this works great! I have the defaults set to do automatic merging via the Branch Updater approach and as well configured to merge from the Parent Plan and then push onto the Branch.
Based on the documentation it appears to me that the following should happen but doesn't appear to be, and for this sake we'll say that I have the Parent Plan on master and created a branch called feature/A-1 and Bamboo has everything described above configured.
Step 4 is the one that isn't happening. Everything else works just fine. if I actually commit something on the Branch feature/A-1 then the Branch Plan will run merging the master first running the plan, then on success pushing the master onto the branch feature/A-1
I would expect based on the documentation that any changes to the master would also cause the branch plans to run if configured using the Branch Updater
Automatically merge changes from the team's master branch into your feature branch, after a successful build of the master branch.
Thanks in advance.
The documentation is incorrect - as you've already noticed, the commit to master does not cause a rebuild of all feature branchers that use Branch Updater. Only a commit to the branch, or an explicit branch build run will cause the merge.
I think you can work around this: In your master Plan define the repository twice. The trick is, Plan Branches only override 'default' repository, so if you define your master branch twice, all the branches will do change detection on both their own branch and the 'master'.
It's not exactly what you want: it will cost you some of the performance and the branches will not wait for the master Plan to be finished, but it's an option.
It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...
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!
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