How to get the list of projects failing due to the specific rule

Hi All,

We are using SonarQube community 8.9.6 and SOnarQube Enterprise 9.5 vesrions.

Is there any API call to get the list of projects failing the specific rule.

Example : “clone” should not be overriden .
The above rule is for JAVA. We need to get the list of projects which are failing the above rule from SonarQube server.

Is it possible>…if yes How?

Is there any additional feature or API in Enterprise edition to do this.

Regards,
Ediga Naresh Goud

Hi Ediga,

You can search on the Issues page by rule. Once you’ve searched by rule, the Project facet will show the projects that have issues related to the rul. I suggest you use the UI to isolate your data set via the UI and eavesdrop to see which calls the UI made to accomplish the action.

You may also find this guide helpful.

 
Ann