/api/qualitygates/project_status this api need
Either 'analysisId', 'projectId' or 'projectKey' must be provided. It is not commom because it is enough to provide one of ‘projectId’ and ‘projectKey’. So if i provide
projectKey, i must provide ‘projectId’ too. But luckily i can write anything but empty into ‘projectId’.
magicsong (Magicsong) #1
ganncamp (G Ann Campbell) #2
My tests show that
projectId is not required if you provide
projectKey will give you the current status. Using
analysisId will give you the status after a specific analysis - current or previous.