How to make some specific rules non-gating?

We’re trying to set up a custom quality gate where some rules are considered gating and some others are just ignored.
I don’t want to disable those rules because the provide some useful feedback, but not enough to make them gating.
I want it to be up the developers to enforce those or not based on PR reviews.
I see options to do something like this, but based on the predefined tags each rule has (like severity) but I don’t see how to explicitly list the rules I want.

Hi,

Welcome to the community!

The only way to do this is by manipulating those rules’ severities. Typically in this kind of case, people set such rules to Info severity. That won’t get you past issue-count Quality Gate conditions, but it will get you past ones based on ratings or severity.

 
HTH,
Ann

Hi,

Thanks for your answer.

I considered that, but I got a warning that says

Changing rule severities is deprecated and will not be possible in the future.

So I think it is a bad idea to rely on that.

Hi,

Yeah… Just ignore that for now. :no_mouth:

 
Ann

Hi Ann
I understand from what you’re saying Ann, that the severity of the rules will be able to be changed in the future. Currently, even if we change it, if I change a rule from Blocker, it doesn’t take it into account when searching for High, it still considers it as Medium.

I believe that using Severity High, Medium, and Low for searching, when the rules actually have Blocker, Critical, etc., is not at all intuitive to use.

In my opinion, the previous way of working was much clearer.
Best Regards, Beatriz

Hi Beatriz,

In 10.8 we’ll introduce the ability to toggle the instance between Standard mode (Blocker &etc) and MQR mode (High, Medium &etc).

The modes should be consistent throughout. If you find an inconsistency, please do create a new thread and let us know.

 
Ann