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

How can one pull build plans for all projects in Bamboo?

Dan Brewerton
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 25, 2024

Greetings everyone, here's what I am trying to do. I have an API call that pulls all project keys from the Bamboo system. I have another API call that will pull relevant build information by project key. What I'm wanting to do is pull build details for all projects in my bamboo instance. Has anyone done this before? If so, how did you pull it off? So, here are the two api queries I have. 

List all projects
(server)/rest/api/latest/project?max-result=160

Build Details for project
/rest/api/latest/project/{projectKey}/specs

1 answer

1 vote
Shashank Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 26, 2024

Hello Dan,

Welcome to Atlassian community.

You can use the below REST API to view the plan details for all the plans in Bamboo

curl --request GET \ --url 'http://{baseurl}/rest/api/latest/plan' \ --header 'Accept: application/json'

Possible expand parameters:

  • plans - list of plans

  • plans.plan - list of plans with plan details

  • plans.plan.actions - list of plans with actions details

Refer https://developer.atlassian.com/server/bamboo/rest/api-group-api/#api-api-latest-plan-get for more details

Regards,

Shashank Kumar

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events