Quality profile threshold for rule is not being used

Hi, I have a project with a quality profile that overrides various settings for rules. In particular, the TypeScript “Cognitive Complexity of functions should not be too high” rule has a threshold of 30 instead of 15. However, this doesn’t appear to be used. Instead, anything over 15 will get flagged in our projects.

I’ve checked the project and its quality profile quite a few times and everything appears to be set up correctly. What are some things I could be checking to ensure that my quality profile is set up correctly? Are there any other gotchas or known bugs here?

Version: SonarQube Enterprise Edition Version 8.9.9 (build 56886)

Hey there.

No gotchas or known bugs in this instance. Have you run a new analysis after configuring the Quality Profile with a higher threshold?

If so, I’d suggest sharing a screenshot of the rule (like below) and an issue raised by it. Maybe another set of eyes will help.