I'm trying to get some basic details about all of the plans we have configured in Bamboo using the following REST call:
http://myhost.com:8085/bamboo/rest/api/latest/plan.json
This gives me a nice summary of all the plans configured, but for some reason, description is not one of the fields included.
The only way I have found so far to get the description is to individually query each plan using this:
http://myhost.com:8085/bamboo/rest/api/latest/plan/{projectKey}/{buildKey}.json
If that is the only way to get the description, then I will have to find a way of making that work, but would be really nice to only have to make one/a few calls to the REST api rather than 100's
As is often the way, shortly after posting this, I discovered
?expand=plans.plan
Which gives an extremely verbose output which includes the plan description.
Will go with this for now but would be interested in other solutions which would be more efficient.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.