Obtain "letter grade" for project metrics?

Let’s discuss what you have in mind!

Is it possible to get the “letter grades” that are in the SonarQube report? These letter grades are generated by SonarQube according to the number and severity of the issues that it finds. We can’t derive the grade by looking at the numerical metrics that we have already scraped into Splunk using PrometheusExporter plugin.

Hi,

In fact, the ratings (letter grades) are (mostly) not based on issue count. Instead, reliability and security are based on the severity of the worst issue. Details on the rest in the docs.

 
Ann

Not only the letter-grade metrics are required, but I’m interested in getting bug numbers. The metrics description shows Reliability metrics defined as:
Reliability Rating (reliability_rating )
A = 0 Bugs
B = at least 1 Minor Bug
C = at least 1 Major Bug
D = at least 1 Critical Bug
E = at least 1 Blocker Bug
But where in the API can I query for different bug categories?

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