curlbamboo

How to retrieve job names via bamboo API


I'm struggling with getting the actual job names via bamboo (server) API.

with curl --request GET --url 'http://{baseurl}/rest/api/latest/result/{projectKey}-{buildKey}/{buildNumber}' --header 'Accept: application/json' I can dig down to stages, but I am not able to retrieve the name of the included jobs. I already read through the api documentation.


Solution

  • using ?expand\=stages.stage.plans lets me retrieve the information