Adding tags to a rule
Tags are a way to categorize rules and issues.
Most rules have some tags out of the box. Issues inherit the tags of the rules that raised them. With the Administer Quality Profiles permission, you can add tags to the rules. You have the option to apply your own custom tags to rules or use the tags that are built-in to SonarQube.
End users can manage the tags assigned to issues within their project. They can add tags using either built-in rule tags or their own custom tags, and they can remove inherited tags.
To add a tag to a rule:
In SonarQube, go to Rules and retrieve the rule you want to tag.
In the Tags section of the rule, select the plus sign. The Edit Tags dialog opens.

In the search field, enter the name of the tag to be added. The list of existing tags is filtered. If the tag doesn't exist, its name is displayed in the search results with a plus sign as illustrated below.

In the search results, select the tag you want to add. The tag is created (if it did not exist) and added to the rule.
Related pages
Last updated
Was this helpful?

