Exclude TAG in filter query?

I would like to use a URL/query that filters results but instead of focusing in one one, I like to exclude results that contain a specific tag. Is that possible?

e.g. /coding_rules?activation=false&tags=obsolete&types=CODE_SMELL

Returns rules with tag “obsolete”

I like to get all rules that do NOT contain this tag

Hi,

Sorry, but that’s not available.

Would you mind sharing your use case?

 
Ann

We have a dedicated team that reviews/revisits rules from time to time (and tags them) and it would help if they could build an URL query to return the relevant rules based on certain exclusion tags. As part of the review process they add tags like “not this year” (simple example). It is mostly a nice-to-have feature request :slight_smile:

1 Like

Thanks for sharing @Lucas!

Administrative note: I’ve moved this to the ‘Suggest new features’ category.

 
Ann