SonarQube 7.9.1 LTS missing operator options in Quality Gates

  • Version: 7.9.1 LTS
  • I need to configure Quality Gates using operators like is less than or is worse than, which I hav been using in version 7.1
  • The problem is this version does not allow me to create conditions using this operators, it just let me create “is greater than” conditions.
  • Is this behaviour expected in this version or do i need to enable or configure a feature to allow me to use the other operators
  • Attached image of the options given creating conditions

Hello Sebastian,

The appropriate operator in each case will correspond to the particular metric you are trying to assess. There’s generally only one appropriate operator for each metric, but we do support “greater than,” “less than,” or “worse than” where appropriate. For example, see our default quality gate criteria, which feature an example of each:

Let us know if there’s a specific metric/operator combination you’re trying to express that you cannot find.