We've updated Bamboo from v7 to v8 and now all API calls are failing. Documentation https://developer.atlassian.com/server/bamboo/using-the-bamboo-rest-apis/ states that there is API versioning in place, so fix would be easy - fallback to API version, used in Bamboo v7, but there is no way to identify this version.
Please, help
Hi, can you please elaborate more on this?
What exactly doesn't work for you?
While, in fact, error was in our Bamboo instance configuration, still - what versions are currently available at Bamboo REST API?
So, for example, now to start build I could POST to https://bambooHostName/rest/api/latest/queue/buildKey?stage&executeAllStages
The problem here, in future, could lie in version "latest" used - if Bamboo API will introduce breaking change, then all my builds will start failing.
Could I specify here some version instead of latest?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Frankly speaking REST API versions are tight to Bamboo version. Dev team tries its best to keep compatibility but don't guarantee API will be stable between major releases.
So /latest/ is the only reasonable version of REST API. All other possible versions are exceptions and will be highlighted at REST docs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.