We are using SonarQube version 7.3 - community edition
And want to know if its possible to see details of issues per SonarQube project version.
Example, if there is a new version created at every analysis, 1.0, 2.0… - then how can we see what are the issues associated with version 2.0, or version 3.0 etc. As of now, I am able to only see the issues in latest project version.
You can get issue counts across various axes (type, severity, status, …) for previous analyses, but not issue details. We only keep current status on that.
Thanks Ann. Is it possible to get the count of issue types per severity through WEB API. Example, if I want to list the count of Critical Bugs or Major Vulnerabilities, how can we do so ?
I am only able to get the count for any one of these facets at a time.
api/issues/search?facets=types,severities&componentKeys=&facetMode=count
Are you still looking for historical data, or current values? For current values, you’re using the right service, but facets isn’t really the way to go. Instead, query granularly for what you want, e.g.
?types=BUG&severities=CRITICAL
(note that you’ll probably need a couple other key/value pairs to make the query work right).