How to get coverage value from sonarqube using rest API (JAVA)

Need to return code coverage value from sonarqube using java

Hi,

Welcome to the community!

What have you tried?

 
Ann

I want to get the coverage results from sonarqube via java
Application already deployed in sonarqube. I just want to connect sonarqube with token & return coverage value based on project key.

Hi,

Have you tried this via the UI? 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.

 
HTH,
Ann