How can I get the open new issues, confirmed new issues, false positive new issues?

841 Views Asked by At

This is a screen where we configure our project, SonarQube shows new issues open, confirmed which is highlighted in yellow, I am using the SonarQube API in my application and want to dump the data to my DB. Accordingly I will create the report. But In Sonar Metrics document I do not find how could I get these value using API. enter image description here

1

There are 1 best solutions below

2
On

api/issues/search should get you all you need. Check out the documentation embedded in your SonarQube server (linked at the footer).

From the use-case you describe, parameters sinceLeakPeriod or createdAfter / createdInLast can help out with date filtering. Not to mention other filters like resolved and componentKeys. Exchaustive listing is in the WebAPI documentation.