Add quality gate for Code smells based on severity

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension): 9.1
  • how is SonarQube deployed: zip
  • what are you trying to achieve: Create quality gate only on code smells
  • what have you tried so far to achieve this: Tried Issues, Reliability rating etc but no tag matches the quality condition that is required.


Welcome to the community!

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

9.1 → 9.9.1 → 10.1 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

Regarding your question, we don’t collect metrics at the granularity you would need to set Quality Gate conditions on Code Smell severity.