Unable to add or edit Bitbucket Cloud repository
Bamboo versions 6.8.3 and 6.9.1 were released on , fixing a recent issue with Bitbucket Cloud repositories. If you are using any version of Bamboo before these, please upgrade as soon as possible.
Problem
The Bitbucket Cloud REST APIs were recently updated to comply with GDPR privacy regulations. As part of these updates, the username
variable from user objects in the API was deprecated.
Related issue: BAM-20455 - Getting issue details... STATUS
Cause
Until Bamboo versions 6.8.3 and 6.9.1, Bamboo expected the username
variable in the JSON response from Bitbucket that is used when creating or modifying Linked or Plan repositories. As Bamboo uses that username for authentication checks, this change resulted in 401 (Unauthorized) exceptions when creating and editing Bitbucket Cloud Linked repositories.
Workaround
As a workaround, we recommend creating Linked repositories of type Git or Mercurial to connect to your Bitbucket Cloud repositories.
Resolution
Bamboo versions 6.8.3 and 6.9.1 were released on , including a hotfix for this issue. If you are using any version of Bamboo before these, please upgrade as soon as possible.
We recently released a series of new and improved upgrade guides for Bamboo. If you are upgrading, please check out the Bamboo Upgrade - Quick Guides.