Reputation: 121
Can anyone tell me how exactly to change severity of the rule in sonar? There is a special section in sonar for activities like this - Quality Profiles. But the opportunity of changing severity is disabled.
How to make it enabled? Maybе I need some special rights for those activities? If so, what are these rights?
Thanks in advance.
Upvotes: 12
Views: 11643
Reputation: 31
For SonarQube 7.9
Upvotes: 3
Reputation: 14800
These steps apply to sonar 6.7
my way
by copying the default.You may also want to set that profile as a default
Open the new profile my way
Deactivate the rule you want to change
Get id in description:
Search for id in rules:
Finally you can set a new severity level (You'll find the activation button at the button of the description)
Upvotes: 11
Reputation: 4708
In versions prior to 3.6, management of quality profiles is restricted to system administrators.
Since SonarQube 3.6, there is a dedicated "Administer Quality Profiles" permission.
See Quality Profiles in the SonarQube documentation.
Upvotes: 7