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,450 points
1,430 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,890 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
• 52,310 points
1,059 views
0 votes
1 answer
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,280 points
2,039 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,072 views
+2 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,890 points
371 views