title: Sonar Qualitygate api based on Severity [blocker/critical/major] not on Type[bugs/vulnerability/code-smells]
body: <p>I am hitting sonar api (<strong>api/qualitygates/project_status?analysisId=xyz</strong>) from pipeline based on <strong>analysisId</strong> to get the project status. The response recevied is based on <code>Type[bugs/vulnerability/code-smells]</code></p>
  
  <p>Is it possible to get the status based on <code>Severity [blocker/critical/major]</code> ?</p>
  
  <pre><code>{
    "projectStatus": {
      "status": "ERROR",
      "conditions": [
        {
          "status": "OK",
          "metricKey": "bugs",
          "comparator": "GT",
          "errorThreshold": "0",
          "actualValue": "0"
        },
        {
          "status": "ERROR",
          "metricKey": "vulnerabilities",
          "comparator": "GT",
          "errorThreshold": "0",
          "actualValue": "31"
        },
        {
          "status": "ERROR",
          "metricKey": "code_smells",
          "comparator": "GT",
          "errorThreshold": "0",
          "actualValue": "72"
        }
      ],
      "periods": [
  
      ],
      "ignoredConditions": false
    }
  }
  </code></pre>