Filtering issues by repository?

14 views
Skip to first unread message

cnog...@gmail.com

unread,
May 24, 2018, 5:28:36 PM5/24/18
to SonarQube
I would like to filter issues by repository type such as Compiler-VC or Compiler-GCC, however this does not seem to be available from the GUI.  Another user posted this question in 2015 (http://sonarqube-archive.15.x6.nabble.com/Filter-issues-by-repository-td5035100.html) and it was said not to be possible.  However, it appears that it is possible to tag issues and thus it seems that it would be possible to tag all the issues in a repository with that repository's name and then use the tag to find all issues in a project that are part of that repository.  Would this work? And if so, how can I bulk add a tag to all rules in a repository?

More background on what I am trying to accomplish: I would like to scan all issues and have them available in a project but management is only interested in a subset of the issues specifically those that are reported by the compiler.  How can I see all issues and also provide management a view to see only the subset they are interested in?

Thanks,

Chris

G. Ann Campbell

unread,
May 25, 2018, 9:09:28 AM5/25/18
to SonarQube
Hi Chris,

With tags you've already hit on the most feasible way to accomplish what you want. Unfortunately, you're not going to be able to mass-tag rules via the interface. Instead, you'll want to iterate through your rule list using the rule update web service: https://sonarcloud.io/web_api/api/rules/update.


Ann
Reply all
Reply to author
Forward
0 new messages