Unable to add or edit Bitbucket Cloud repository

Still need help?

The Atlassian Community is here for you.

Ask the community

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.

(info) 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.

Description
Users are unable to create or edit BB Cloud repositories due to API changes related to GDPR.
Product
Bamboo, Bitbucket Cloud

Last modified on Aug 19, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.