Can we export the test results in sonarqube to either CSV,EXcel or PDF

Hi @bgowda ,

There is currently no method to obtain test results of a project analysis converted to a CSV or PDF.

If you have SonarQube Enterprise Edition, you can download a portfolio PDF or security report PDF. In SonarQube 9.1 Enterprise Edition, we will allow project summary PDF (see MMF-2409 for an example).

To create a custom report, you can use the web API on your SonarQube instance, which will show you the documentation. Then you convert the JSON response to CSV (search google for ways to do this). For example, here’s a simple way to convert JSON response to CSV with PowerShell: How to convert JSON file to CSV file using PowerShell?

Regards,
Joe