How to find Blockers and Critical numbers from an earlier (not latest) scan

For a reporting purpose, I am trying to break down Blockers and Critical severity numbers from Bug and Vulnerability perspectives from a scan that happened a month ago or so. How do I find the numbers? On Application Activity (in customize), I can see the nos. but it shows all Blockers or Criticals not giving the breakdown of how many blockers in the bug or in vulnerability. I’m using Sonarqube 8.1 enterprise.

Appreciate for any help on this.


Hi @Zia,

I’d suggest taking a look at the documentation for api/issues/search (the Web API documentation link is in the footer of any page on your SonarQube instance). You’ll probably want a combination of createdAt, severities and types but there are plenty of other filters available to narrow down your search.