I like to test a new rule in my codebase without impact on the Quality Gate (project gets red). Whether a rule works is often only clear after using it on the complete codebase.
I would like to set the rule temporary to Code Smell, Info, Effort to fix=0. Is this possible? In the UI it seems to be only possible to change the severity.
The status is something different, and you can’t change the type of a rule, only of an issue.
Not knowing your QG, I can’t say for sure this will do what you want, but I’d do my trial runs with the severity set to Info. You can’t adjust the remediation / technical debt via the the UI, but the web services to allow that are still available.
…but the web services to allow that are still available.
I were playing around with this but can’t find an web service for doing this. api/rules/update seems to work only for custom rules? Is there another REST API I missed?