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

Create WS to return associated quality gate for given project

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1
    • Component/s: Quality Gate, Web API
    • Labels:

      Description

      GET api/qualitygates/get_by_project

      The WS is internal

      Input parameters:

      • projectId
      • projectKey

      Response:

      {
        "qualityGate": {
          id: "1",
          name: "Sonar way",
          "default" : true
        }
      }
      

      qualityGate contains effective quality gate, whether it's manually associated or default one. default tells if the quality gate is default one or not.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              teryk.bellahsene Teryk Bellahsene
              Reporter:
              stas.vilchik Stas Vilchik (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: