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
509 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
• 46,110 points
363 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,280 points
872 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
303 views
+13 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,380 points
261 views
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
115 views