Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
- what are you trying to achieve
- what have you tried so far to achieve this
- Sonarqube 7.9.1
- Scanner 4.6.2
*I tried “api/qualityprofiles/activate_rules?targetKey=‘MyQualityProfileKey’”.
It works if I want to activate all of the rules.
But I just wanted to activate specific rules(like csharpsquid:S2757, csharpsquid:S1698, …) on my custom quality profile.
So I added rule_key parameter and set the value to ‘csharpsquid:S2757’. then It activates only one rule. If I set the value to ‘csharpsquid:S2757,csharpsquid:S1698’ or ‘csharpsquid:S2757;csharpsquid:S1698’, It doesn’t work.
How can I set bulk-activate in Web API?