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

I want to run/trigger bamboo plan branch from Rest API

Shivani Pacharne
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 11, 2023

I want to run/trigger bamboo plan branch from Rest API

Tried using https://<bamboo-url>/rest/api/latest/queue/{projectKey}-{buildKey}
this triggers my default plan branch in bamboo.

is there any option to trigger specific bamboo plan branch through REST API?

1 answer

1 accepted

3 votes
Answer accepted
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 12, 2023

You need to pass buildKey of branch. Every plan branch has unique buildKey, for example master plan has key PRJ-PLAN-JOB1, then first plan branch will have key PRJ-PLAN0-JOB1, next one PRJ-PLAN1-JOB1. To see plan branch key check URL in browser when you see build results of plan branch

Shivani Pacharne
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 12, 2023

Thanks @Alexey Chystoprudov

It worked!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events