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,552,690
Community Members
 
Community Events
184
Community Groups

How to run new build plan from REST api call?

Hi Team,

The REST API request I'm using was able to run failed jobs,

https://<host address>/rest/api/latest/queue/<project>-<plan>-<build key>

But what is the REST api call to run with new build key just like as we are doing in bamboo ui. 

triggerManualBuild.Action?buildKey=<project>-<plan>

How to call above action using REST API call?

Thanks & Regards,

Narendra Bollu.

1 answer

0 votes
Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 08, 2018 • edited

The REST API equivalent for 'triggerManualBuild.Action?buildKey=<project>-<plan>' is:

Unfortunately that REST endpoint lacks detailed docs for the parameters, though they are all explained for the related /queue/{projectKey}-{buildKey}-{buildNumber : ([0-9]+)} endpoint right below (admittedly the specific meaning of 'projectKey' and 'buildKey' is a bit confusing, esp. in relation to similarly named Bamboo variables with a slightly different scope).

Accordingly, for a project with key TST and a plan with key NMS, you can trigger a new build with a POST to:

  • https://{{host}}/bamboo/rest/api/latest/queue/TST-NMS

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events