Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-13154

Quality Gate with 0 conditions should not be used by a project

    XMLWordPrintable

    Details

    • Edition:
      Community
    • Production Notes:
      None

      Description

      It's possible to create a QG with 0 conditions and then assign it to a project. This should not be possible.

      Solution:

      • Upon Quality Gate creation, it should not be available to assign it to any project until it has at least one condition.
      • The "Set as default" button should be disabled, and the project assignment widget at the bottom shouldn't appear.
      • With the message(TBD) " no conditions, please add conditions before you can set it as default or assign it to your projects."

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              wouter.admiraal Wouter Admiraal
              Reporter:
              laura.wacrenier Laura Wacrenier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: