Table of Contents

, ,

Atlassian Bamboo API

Example for Atlassian Bamboo, running on port 8085.

Get list of all plans

curl -s -H “Content-Type:application/json” -H “Accept:application/json” -u user:pass -X GET http://localhost:8085/rest/api/latest/plan | jq

Get plan info

curl -s -H “Content-Type:application/json” -H “Accept:application/json” -u user:pass -X GET http://localhost:8085/rest/api/latest/plan/PLAN | jq

Get list of all branches inside of plan

curl -s -H “Content-Type:application/json” -H “Accept:application/json” -u user:pass -X GET http://localhost:8085/rest/api/latest/plan/PLAN/branch | jq

Get server status

curl -s -H “Content-Type:application/json” -H “Accept:application/json” -u user:pass -X GET http://localhost:8085/rest/api/latest/server | jq

See also

References

https://docs.atlassian.com/atlassian-bamboo/REST/6.10.3