Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

After update of Bamboo from v7 to v8 all API calls fails

Антон Курьян January 31, 2022

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

1 answer

1 accepted

0 votes
Answer accepted
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 31, 2022

Hi, can you please elaborate more on this?

What exactly doesn't work for you?

Антон Курьян January 31, 2022

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? 

Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 31, 2022

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

Like Антон Курьян likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events