NotificationConfiguration

NotificationConfiguration
NotificationConfiguration

Represents collection of different Event configurations.

JSON Example
{
    "email": [
        {
            "to": [
                "abc@vmware.com"
            ],
            "subject": "Pipeline execution notification",
            "body": "pipeline-execution-1234",
            "event": "SUCCESS",
            "endpoint": "Codestream-Default-Email"
        }
    ],
    "jira": [
        {
            "assignee": "jason@vmware.com",
            "description": "Details about the issue being reported",
            "endpoint": "string",
            "event": "string",
            "issuetype": "Bug/Story",
            "project": "VRCS",
            "stage": "string",
            "summary": "Pipeline-1 execution failed",
            "task": "string"
        }
    ],
    "webhook": [
        {
            "action": "POST/PUT/PATCH",
            "endpoint": "string",
            "event": "string",
            "payload": {
                "text": "executionId",
                "username": "codestream@vmware.com"
            },
            "stage": "string",
            "task": "string",
            "url": "string"
        }
    ]
}
email
Optional

List of email events configured as part of notification.

jira
Optional

List of Jira events configured as part of notification.

webhook
Optional

List of webhook events configured as part of notification.