We are currently migrating our repositories from Bitbucket to GitHub. Could you please assist us in updating our Sonar authentication to use GitHub instead of Bitbucket?
Please let us know what information you need from us to complete this configuration change.
Thank you for your assistance.
While you can’t change how a specific user authenticates, you can update your organization’s binding to use a different DevOps Platform for authentication going forward.
Thank you for the answer. If we rebind our org from Bitbucket to GitHub, will our existing project analysis history and issues (including branches/PRs) remain intact? Do we need to keep the same project keys or take any steps to ensure nothing is lost?
If you change the organization binding (in specific circumstances where you can, such as moving away from platforms like GitHub or Bitbucket to another service—not from Azure DevOps or GitLab), you will retain your history.
We can’t bind the organization with a GitHub profile and get “Your organization is already bound to the SonarQube Cloud organization. Try again and choose a different organization.”
We have the same organization name on Bitbucket and GitHub.
If your GitHub organization is connected to a SonarQube Cloud organization, the SonarQube Cloud GitHub App may already be installed on your GitHub org. To resolve issues or change this setup, uninstall the SonarQube application from your GitHub organization.
You can do this by visiting: https://github.com/organizations/ORG/settings/installations and removing the application from the listed apps. That should free up the org for binding.
Your screenshot seems to indicate that the project setting show the SonarQube Cloud project is bound to the correct project in GitHub. Is that correct?
Is the only problem that icon at the upper left, or are other things, such as PR decoration, not functioning correctly?
You are right, the project is bound to the correct repo at GitHub, and PR decoration doesn’t work. PR view shows old PRs; branches view shows only the main branch.