Repo Transfer to different Org and update Organization Key

This is a very common question but I wanted to post it again and see if there is a better solution.

Our company has multiple GitHub orgs and we transfer repos from one org to another very often. This breaks our repo integration with SonarCloud as pointed out by posts links below.

  • Will updating organization key on our projects to match new org will relink the repo in new org?
  • If not, is there a way to not lose history of the old SonarCloud project and reimport the repo from new Org?
  • Does SonarCloud have any feature planned to make this easy for the community as it seems to be a very common scenario in large corporations?

Related Posts

No, the project will have to be reimported into the new organization in the SonarCloud UI.

No, unfortunately.

We would like to make this more smooth – but there’s nothing concrete to share at the moment.