User Tools

Site Tools


wiki:atlassian_server_rest_api_examples

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

wiki/atlassian_server_rest_api_examples.txt · Last modified: 2020/12/14 10:10 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki