In the web UI of SonarQube, you can filter issues based on several criteria. But it seems none of them can be negated.
I like to find out all critical issues, that are not rule xyz. I currently see from the web UI only the possibility to select what I like to see, not what I not want to see.
Is there any way to create such a query?
No, currently there is possibility to do that from the user interface. Not even the REST api, provides such functionality.
From the API-docs:
Comma-separated list of coding rule keys. Format is <repository>:<rule>
This does not allow any special syntax for to specifically exclude a rule.
However these two suggestions might help:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With