Rebind project after workspace for repository changed on bitbucket

  • ALM used (GitHub, Bitbucket Cloud, Azure DevOps) - Bitbucket Cloud

  • CI system used (Bitbucket Cloud, Azure DevOps, Travis CI, Circle CI - Jenkins

  • Languages of the repository - Ruby, Javascript, Typescript

Hello folks,

We recently moved 2 projects between workspaces on bitbucket Cloud. Now the problem is that there is no way to import the new workspace in the same sonarcloud org to be able to rebind it to it’s new location.

It seems like our only option is the following -

  1. Create a new organization on sonarcloud
  2. Create a new project and analyze the “new” repository
  3. Delete the old project

The problem is we’ll have to set everything up again so Ideally want to avoid that. Is there any other way? Please let me know if you need any more details.

Hey @ammaarsolkar, welcome to the Community!

You can rebind the SonarQube Cloud organization to the new Bitbucket Cloud workspace. It’s not immediately obvious that you can do this because the SonarQube Cloud UI doesn’t tell you about it, but there is a documented workaround (specifically this section is relevant for you).