/
Alert action data

Alert action data

Overview

Jira Service Management passes alert activity data to various integrations. The following are some of the integrations that can make use of this data:

For the Webhook integration, alert action data is contained in the JSON body of the webhook request. For integrations that use Marid, the data is available in any script located under the Marid's scripts directory.

Alert actions

Create

"teams": IDs of the teams assigned to this alert

recipients”: IDs of the recipients assigned to this alert

{ "source":{ "name":"web", "type":"API" }, "alert":{ "updatedAt":1420452193166002000, "tags": [ "tag1", "tag2" ], "teams" : [ "team1", "team2" ], "recipients" : [ "recipient1", "recipient2" ], "message":" test alert", "username":"fili@ifountain.com", "alertId":"052652ac-5d1c-464a-812a-7dd18bbfba8c", "source":"fili@ifountain.com", "alias":"aliastest", "tinyId":"23", "createdAt":1420452191104, "userId":"daed1180-0ce8-438b-8f8e-57e1a5920a2d", "entity":"" }, "action":"Create", "integrationId":"37c8f316-17c6-49d7-899b-9c7e540c048d", "integrationName":"Integration1" }

Acknowledge

{ "source":{ "name":"", "type":"web" }, "alert":{ "updatedAt":1420452224764002246, "tags": [ "tag1", "tag2" ], "message":"test alert", "username":"fili@ifountain.com", "alertId":"052652ac-5d1c-464a-812a-7dd18bbfba8c", "source":"fili@ifountain.com", "alias":"aliastest", "tinyId":"23", "createdAt":1420452191104, "userId":"daed1180-0ce8-438b-8f8e-57e1a5920a2d", "entity":"" }, "action":"Acknowledge", "integrationId":"37c8f316-17c6-49d7-899b-9c7e540c048d", "integrationName":"Integration1" }

UnAcknowledge

{ "source":{ "name":"", "type":"web" }, "alert":{ "updatedAt":1420452224764002246, "tags": [ "tag1", "tag2" ], "message":"test alert", "username":"fili@ifountain.com", "alertId":"052652ac-5d1c-464a-812a-7dd18bbfba8c", "source":"fili@ifountain.com", "alias":"aliastest", "tinyId":"23", "createdAt":1420452191104, "userId":"daed1180-0ce8-438b-8f8e-57e1a5920a2d", "entity":"" }, "action":"UnAcknowledge", "integrationId":"37c8f316-17c6-49d7-899b-9c7e540c048d", "integrationName":"Integration1" }

AddTeam

AddRecipient

AddNote

AddTags

RemoveTags

Close

Assign Ownership

Take Ownership

Delete

Escalate

The 'entity' property in escalationNotify can be one of the following values:

  • user

  • group

  • team

  • schedule

The 'type' property in escalationNotify can be:

  • “default” for the user, group, and team entities

  • “default”, “previous”, and “next” for the "schedule" entity

Update Priority

Update Description

Update Message

A custom action with the name "TestAction"

 

 

Related content

Configure Jira Edge Connector
Configure Jira Edge Connector
Read with this
Jira Edge Connector (JEC) - An extensibility platform
Jira Edge Connector (JEC) - An extensibility platform
Read with this
Install Jira Edge Connector
Install Jira Edge Connector
Read with this
Run Jira Edge Connector
Run Jira Edge Connector
Read with this
Integrate with email
Integrate with email
Read with this
Add an integration (team-level)
Add an integration (team-level)
Read with this