ALM used: Bitbucket Cloud
CI system used: Bitbucket Cloud Pipelines
Scanner: sonar-maven-plugin 5.2.0.4988
Languages: Java
Problem:
We migrated our Bitbucket repositories from workspace `Sahara` to a new workspace `goat-int`.
Our SonarCloud organization (key: editec, Team plan) is still
bound to the old workspace Sahara.
In Organization Settings → Organization binding we see:
“The path to this Bitbucket workspace changed to
Bitbucket”
Clicking “Update path” shows:
“Refreshing the ALM bindings is only available for GitLab”
In Project Settings → Repository binding we only see repositories
from old workspace Sahara - new workspace goat-int repos
are not available.
**Additional context:** I also have a second SonarCloud organization (key: `goat-int`, Free plan) which is properly bound to the new Bitbucket workspace `goat-int`. When I try to import repositories there, they show as “Already imported” because they are already bound to the `editec` organization. So I’m completely stuck: - `editec` (Team plan) → bound to old workspace `Sahara`, cannot change - `goat-int` (Free plan) → bound to correct workspace, but repos show “Already imported” and cannot be imported again Is there any way to either: 1. Update the `editec` org binding to point to `goat-int` workspace, or 2. Release the projects from `editec` so they can be imported into `goat-int`?
**Additional note about workspace type:** The old Bitbucket workspace `Sahara` appears to have been a personal/private workspace, while the new workspace `goat-int` is a proper team/organization workspace. This may be relevant because the SonarCloud organization `editec` shows avatar URL: https://bitbucket.org/workspaces/mchaddah/avatar/ which looks like a personal Bitbucket account, not an organization workspace. So the original binding may have been to a personal account rather than a proper team workspace, which could explain why the migration path is not straightforward.
**Goal:** We would like to resolve this without losing existing project data (analysis history, issues, quality metrics) and without having to recreate all projects from scratch. We have 13+ projects in the `editec` organization on Team plan and recreating them all would result in significant data loss and effort. Is there any way to handle this migration gracefully on your end?
Thank you.