Migrate Sonarcloud from Bitbucket and Github

Hi Sonarcloud Team,
We (our company) would like to unbind our organisation from Bitbucket and rebind it to Github. We would prefer to avoid recreating the organization to keep the billing setup the same.
When checking older topics here, I can also see answers saying it is possible and providing the steps:
Log in to SonarQube Cloud using your GitHub account, at least once

  1. Log back into SonarQube Cloud with Bitbucket

  2. While signed in with your Bitbucket-authenticated SonarQube Cloud account, add your GitHub user as an organization admin in SonarQube Cloud. (This is the step where I’m having trouble, when I try adding my email, it only detects the Bitbucket backed one)

  3. Uninstall the SonarQube Cloud app from your Bitbucket workspace.

  4. Then, log into SonarQube Cloud using your GitHub account, install the SonarQube Cloud application at the organization level (Administration > Organization settings > Repository Binding), and follow the instructions to bind the organization to GitHub.

  5. Refresh all of your project bindings. For more details, refer to the official documentation on changing project binding.

  6. Remove the Bitbucket users from your organization

Then, when checking this link, it says this is possible and it provides a few steps, which don’t include adding the user from GitHub to the Bitbucket organization.

I wanted to check which is the best way I can do this, as I was also afraid unbinding could make me lose access to Sonar Cloud completely.

Thank you for your help!

Hi,

Welcome to the community!

I’d go with what the official docs say. :sweat_smile:

 
Ann