How to bind an organization to different Bitbucket workspace

Good day.

Our original SonarCloud paid plan organization was set up with an individual’s workspace on Bitbucket but we would like to migrate to our company’s Bitbucket workspace.

Is it possible for an organization to change an existing bind to a Bitbucket account to another Bitbucket account without removing the organization?

1 Like

Hello,

Yes it’s possible to change the binding of an org, it’s just not a straightforward process. From Bitbucket Cloud UI you can uninstall the SonarCloud application in you old workspace, this should unbind your org on SonarCloud side.
Then on SonarCloud if refresh the administration page in your screenshot you should now see a button to bind the org, and clicking on it you should be able to select your new workspace.

Just note that doing this might break analysis (PR decoration) of projects that are in the old workspace and not accessible from the new one.

I hope this helps!

3 Likes