Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,117
Community Members
 
Community Events
168
Community Groups

Invalid Username error in updating the build plan

When I am trying to update the branch in the repositories, it throws me an error "We couldn't connect to the repository. The details you provided were invalid.

Also "invalid username" shows under the username section.

 

 

1 answer

0 votes
Elias Zeidan Atlassian Team Jun 17, 2019

Hi Nitesh,

Thanks for reaching out to the Atlassian Community!

The issue that you are reporting looks to be related to changes to the Bitbucket Cloud APIs that went live on June 11, 2019. If you are using Bitbucket Cloud (bitbucket.org), please read on.

Since many of these changes were needed to comply with GDPR, and protect our customer data, the changes went live as quickly as possible. Bamboo versions 6.8.3 and 6.9.1 were released to fix these issues, meaning that you will need to upgrade immediately.

Some background

The Bitbucket Cloud REST API v1 was removed, and API v2 endpoints were 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 or editing of Linked repositories of type “Bitbucket Cloud” failing with 401 (Unauthorized) exceptions. You may see "Resource removed" or “Invalid username” error messages in the Bamboo UI.

For more information on the "Resource removed" issue, please see our public bug report here:

For more information on the GDPR related change, please see our public bug report:

Workaround

If you are unable to upgrade right away, as a workaround, we recommend creating Linked repositories of type Git or Mercurial to connect to your Bitbucket Cloud repositories.

I sincerely apologize for any inconvenience this may have caused. Please let me know if you have any questions or concerns.

Cheers,
Elias Zeidan | Bamboo Senior Support Engineer

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

311 views 0 7
Read article

Atlassian Community Events