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
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**
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.