Our organization is bound to BitBucket and we migrated to GitHub, looking for best practices

Migrating an org from Bitbucket → GitHub is actually possible if you follow a few, not particularly intuitive steps:

  1. Log in to SonarQube Cloud using your GitHub account, at least once
  2. Log back into SonarQube Cloud with Bitbucket
  3. While signed in with your Bitbucket-authenticated SonarQube Cloud account, add your GitHub user as an organization admin in SonarQube Cloud.
  4. Uninstall the SonarQube Cloud app from your Bitbucket workspace.
  5. 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.
  6. Refresh all of your project bindings. For more details, refer to the official documentation on changing project binding.
  7. Remove the Bitbucket users from your organization
1 Like