Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,506,719
Community Members
 
Community Events
180
Community Groups

Rest api to run plan of specific plan branch.

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). 

1 answer

1 accepted

1 vote
Answer accepted

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.

Like Steffen Opel _Utoolity_ likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events