• Get started
  • Documentation

Alert action data for Jira Edge Connector

This article highlights a new alerting feature that's natively available in Jira Service Management which is gradually rolling out to some Jira Service Management Cloud customers. It may not yet be visible or available on your site.

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

JSON

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 { "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

JSON

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 { "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

JSON

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 { "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

JSON

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 { "source":{ "name":"", "type":"web" }, "alert":{ "updatedAt":1420452256147001924, "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":"", "team":"team2" }, "action":"AddTeam", "integrationId":"37c8f316-17c6-49d7-899b-9c7e540c048d", "integrationName":"Integration1" }

AddRecipient

JSON

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 { "source":{ "name":"", "type":"web" }, "alert":{ "updatedAt":1420452274617001925, "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":"", "recipient":"team2_escalation" }, "action":"AddRecipient", "integrationId":"37c8f316-17c6-49d7-899b-9c7e540c048d", "integrationName":"Integration1" }

AddNote

JSON

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 { "source":{ "name":"", "type":"web" }, "alert":{ "updatedAt":1420452275002000962, "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":"", "note":"note to test alert" }, "action":"AddNote", "integrationId":"37c8f316-17c6-49d7-899b-9c7e540c048d", "integrationName":"Integration1" }

AddTags

JSON

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 { "source":{ "name":"", "type":"web" }, "alert":{ "updatedAt":1420452275002000962, "tags": [ "tag1", "tag2", "tag3" ], "addedTags":"tag1,tag2,tag3", "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":"AddTags", "integrationId":"37c8f316-17c6-49d7-899b-9c7e540c048d", "integrationName":"Integration1" }

RemoveTags

JSON

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 { "source":{ "name":"", "type":"web" }, "alert":{ "updatedAt":1420452275002000962, "tags": [ "tag1", "tag2" ], "removedTags":"tag3", "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":"RemoveTags", "integrationId":"37c8f316-17c6-49d7-899b-9c7e540c048d", "integrationName":"Integration1" }

Close

JSON

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 { "source":{ "name":"", "type":"web" }, "alert":{ "updatedAt":1420452374669001603, "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":"Close", "integrationId":"37c8f316-17c6-49d7-899b-9c7e540c048d", "integrationName":"Integration1" }

Assign Ownership

JSON

1 2 3 4 5 6 7