How to get issues count based on rules in a sonar project?

0 votes

Is there any way to get the issues count in sonarqube based on the rules for a project using REST api?

May 4, 2018 in Other DevOps Questions by DragonLord999
• 8,380 points
217 views

1 answer to this question.

0 votes

There are API docs in the footer area of a sonarqube UI page. In the issues/search, then use componentKeys(your project id) to qualify and then look at the paging.total in the response JSON file.

answered May 4, 2018 by DareDev
• 6,810 points

Related Questions In Other DevOps Questions

+1 vote
1 answer

How to kill a specific instance on Pivotal Cloud Foundry

Use the following command cf restart-app-instance This will issue ...READ MORE

answered Jul 25, 2018 in Other DevOps Questions by Kalgi
• 37,320 points
190 views
0 votes
1 answer

How to get results of SonarQube?

You can use sonarqube quality gates which ...READ MORE

answered Jun 8, 2018 in Other DevOps Questions by ajs3033
• 7,240 points
416 views
0 votes
1 answer

How to get the most recent ebs snapshot using terraform datasource?

It's not available in the latest release ...READ MORE

answered Jul 8, 2018 in Other DevOps Questions by Atul
• 10,240 points
189 views
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

Using conditional to execute a command in salt

You can use unless inside your state ...READ MORE

answered Jul 23, 2018 in Other DevOps Questions by DareDev
• 6,810 points
53 views