diff --git a/mta-v7.x/mta.sw.yaml b/mta-v7.x/mta.sw.yaml index 6286bcb7..08170404 100644 --- a/mta-v7.x/mta.sw.yaml +++ b/mta-v7.x/mta.sw.yaml @@ -126,8 +126,8 @@ functions: - name: mandatoriesIncidentsResult type: expression operation: '{ - "completedWith": "error", - "message": "MTA analysis for " + .application.repository.url + " completed with " + (.application.mandatoriesIncidents|tostring) + " incidents in mandatory issues. Check the analysis report." + (if .migrationWaveJiraTicket != null then " Application was exported to issue manager." else "" end), + "completedWith": "warning", + "message": "MTA analysis for " + .application.repository.url + " completed with " + (.application.mandatoriesIncidents|tostring) + " incidents in mandatory issues that need to be fixed before being able to provide any next possible workflow. Check the analysis report." + (if .migrationWaveJiraTicket != null then " Application was exported to issue manager." else "" end), "outputs": [ { "key":"MTA Analysis Result URL", diff --git a/shared/schemas/workflow-result-schema.json b/shared/schemas/workflow-result-schema.json index cd38b2a3..f2e91416 100644 --- a/shared/schemas/workflow-result-schema.json +++ b/shared/schemas/workflow-result-schema.json @@ -9,7 +9,8 @@ "type": "string", "enum": [ "error", - "success" + "success", + "warning" ] }, "message": {