Unbind Organization from Bitbucket and Re-bind it to GitHub with Existing Paid Plan

  • ALM used Bitbucket Cloud
  • CI system used Jenkins CI

Problems we are facing

Recently, we have migrated our organization’s git repositories from Bitbucket to GitHub, and we have migrated our sonar scan bitbucket pipelines to GitHub actions, the sonar scan GitHub actions work normally.

Now the problem is that the sonarcloud organization was created via Bitbucket DevOps platform, and now we want to change the sonarcloud organization binding from Bitbucket to GitHub, could you help us on this?

For the sonarcloud organization and GitHub organization info, will provide in the private channel.

Hey there.

Officially, you cannot unbind nor change the binding of a bound organization.

Unofficially, due to some quirks in how binding works, certain migrations are possible. Bitbucket → GitHub is one of those migrations.

It’s more or less four steps:

  • Uninstall the SonarQube Cloud application from your Bitbucket workspace (this unbinds your SonarQube Cloud org)
  • Login to SonarQube Cloud using a GitHub account, and make sure that account is added as an admin to your org
  • Bind to GitHub as usual
  • Refresh your project bindings (this is manual)

Thank you so much, Colin, it works! - This helps me a lot.

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful. The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.