You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
The bamboo plan has more Linked repositories. The default branch for repositories is develop branch. I would like to reuse this plan to verify the changes in other branches (e.g. feature/bug branches). The first branch (bamboo.planRepository.1..branch) is updated automatically by bamboo, but the rest keep the original configuration (default branch). I would like to update the branch for the rest of linked repositories by setting bamboo.planRepository.<position>.branch variable. I can set manually the bamboo plan that was created for a specific branch.
I have tried to set the bamboo.planRepository.<position>.branch by using REST API, but without success.
curl -u <user>:<password> -X POST "https://<bamboo_name>/rest/api/latest/queue/<bamboo_plankey>/?\
.....
bamboo.variable.bamboo.planRepository.1.branch=<new_name1>&\
bamboo.variable.bamboo.planRepository.2.branch=<new_name2>&\
.....
I could manage to change the other custom variables defined in bamboo plan.
It seems that the bamboo.planRepository.<position>.branch is read only. Is there any other way to dynamically select the branches names ?
Hello dear support team,
The support on UI was added to override branch of a linked repository (see more at BAM-16101), but we cannot do it by using REST API.
I hope this will help you to provide a solution for this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.