Export project analysis reports from SonarCloud

My team is going to migrate from SonarCloud to SonarQube since we no longer use GitHub.
My teammate has contacted the SonarQube team and they said it is not possible to migrate data from SonarCloud to SonarQube.
So is there any way to export all the existing code analysis reports (each pull request) as PDF or excel sheet or CSV files so we can make an archive?

Hi,

You can use the Web API to pull your data from SonarCloud.

The best way to master the API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.

You may also find this guide helpful.

Out of curiosity, what do you use if you no longer use GitHub?

 
Ann

Thanks for your help, Ann. I will follow the guide and see if I can pull all the data from SonarCloud.
We plan to use a local Git host server instead of GitHub.

1 Like