The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to determine the Bamboo agent used for build-job via rest-api

Paul Moors
September 29, 2025

Here is the situation: assume I have a project AAA, with buildplan PLAN and buildjob JA and JB.

How can I determine using the rest-api the build-agent that is being used to build buildjob JA for build number 10. 

So the build-key = AAA-PLAN-JA-10
 

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Shashank Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 10, 2025

Hello Paul,

Can you try this API > https://developer.atlassian.com/server/bamboo/rest/api-group-api/#api-api-latest-result-projectkey-buildkey-buildnumber-get

 

Regards,

Shashank Kumar

**please don't forget to Accept the answer if your query was answered**

0 votes
Zara Aron
May 20, 2026

Interesting use case. You might want to check the build result or queue APIs because Bamboo usually exposes agent-related details through the build execution information rather than directly from the build key itself. It would also help if Atlassian documented agent mapping more clearly in the REST API examples since this seems like a common automation need.

TAGS
AUG Leaders

Atlassian Community Events