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.
Is there any rest api to run plan of specific plan branch, I know there is api (“/queue/{projectKey}-{buildKey}?stage&executeAllStages&customRevision”) to run plan of default branch in Bamboo rest api documentation (https://docs.atlassian.com/atlassian-bamboo/REST/8.1.1).
Hello @Sagar Rajput
Welcome to Atlassian Community!
You can use the same REST endpoint to trigger a Plan branch. Bamboo adds a number to the end of the build key, for example, if the default plan key is PROJ-KEY, the first branch created after that will be PROJ-KEY0, so to trigger that branch, you just need to hit the <bamboo-url>/rest/api/latest/queue/PROJ-KEY0
You can find the Plan Branch key in the Bamboo UI by checking the address bar.
Regards,
Eduardo Alvarenga
Atlassian Support APAC
Hi @Eduardo Alvarenga , thanks for the reply, instead of getting branch key from address bar, we can get it from rest api provided in the documentation and then we can use rest end point <bamboo-url>/rest/api/latest/queue/PROJ-KEY0 to trigger a Plan branch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.