We're using Bamboo Server 5.14. As of today, May 30th 2019, any repositories configured to use the "Bitbucket Cloud" repository type are failing to connect to Bitbucket. Hitting the "Test Connection" button results in this error message:
"We couldn't connect to the repository. The details you provided were invalid."
This happens regardless of whether I attempt to use SSH or username/password to connect. I confirmed that username/password is valid.
What might be causing this?
Hi @[deleted] ,
Thank you so much for reaching out to the Atlassian Community.
The Bitbucket Cloud REST APIs were recently updated to comply with GDPR privacy regulations. Part of these updates removed a variable containing information that Bamboo expects in the JSON response from Bitbucket.
This change resulted in the creation and editing of Linked repositories of type “Bitbucket Cloud” failing with 401 (Unauthorized) exceptions. You may see an “Invalid username” error message in the Bamboo UI, errors in the logs, or issues with the repository lists populating.
For more information, please follow our public bug report:
We have been working with the Bamboo developers to create a hotfix for this issue, which we expect will be ready next week.
We sincerely apologize for any inconvenience this may cause. Please let me know if you have any questions or concerns.
Developer Tools Senior Support | Atlassian | Austin, TX
Will the hotfix be applied on the Bitbucket Cloud REST APIs or as an update to Bamboo? Trying to understand if our Bamboo 5.14 (which is way past EOL) instance will start working once the hotfix is available.
Hi @[deleted] ,
Thanks for your question!
The fix will be for Bamboo, and may be released as a patch version, such as 6.8.3 or 6.9.1 – version numbers still to be determined.
If that is the case, you would need to upgrade your instance to the fixed version. Please watch BAM-20455 for more information from our developers.
I hope that helps.
The issue you face has already been identified and fixed in the Bamboo versions 6.10.6 and 7.0.3 and above.
More details on this can be found in this article.
Hope that helps!