Force issues/hotspots to inherit custom rule tags?

I’m trying to utilize custom rule tags to quickly filter issues associated with these rules. However, it appears that custom rules are not inherited retroactively. This means that if I update the tags for a rule, the newly added tags will not show up in previously identified findings.

Is this the intended behavior? Is there any way to force old findings to sync with the latest rule tags?

I’m working with a zip deployed SonarQube instance.

Hi,

Welcome to the community!

That’s right. Rule customizations don’t impact existing issues raised by the updated rules. For example, you could change the severity of a rule within your active profile and all existing issues would stay the same. Only new issues would have the updated severity.

Yes, absolutely.

No. But you could do a search for all the issues raised by the rule and bulk-apply the new tags.

 
HTH,
Ann

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.