Automation smart values - alerts

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.

The following smart values can be used to access information related to alerts in Jira Service Management Cloud.

{{alert}}

{{alert.id}} Returns the unique identifier of the alert.

{{alert.tinyId}} Returns the tinyID of the alert.

{{alert.message}} Returns the alert message, which is typically a summary of the reason an alert was generated.

{{alert.count}} Every alert has a count, that keeps track of the number of times anything tries to create an alert with the same alias; whenever this happens, the count will increase instead of creating a duplicate. This smart values returns the count.

{{alert.actions}} Returns, in a list, the names of all alert actions configured on the alert.

{{alert.tags}} Returns all the tags for the alert as a list.

{{alert.extraProperties.[property]}} Corresponds to each key value pair on the alert’s Extra properties field. For example, if an alert has a key value pairing of hello and there, then {{alert.extraProperties.hello}} would return there.

{{alert.priority}} Returns the alert’s priority, e.g. P2.

{{alert.source}} Returns the value in the alert’s source field, typically used to describe here the alert came from. For example, sms or voice or chat.

{{alert.entity}} Returns the alert’s entity. This is the domain that the alert is related to, such as the name of the server or application.

{{alert.description}} Returns the alert’s description; some text that describes the alert (typically longer than the alert message).

{{alert.teams}} Returns the list of team IDs that the alert was sent to.

{{alert.note}} Returns the note added to the alert.

{{alert.status}} Returns the current status of the alert (open, acknowledged, closed, etc.)

{{alert.alias}} Returns the alias given in the alert.

{{alert.link}}

{{alert.owner}} Returns the name of the user who is the alert’s owner.

{{alert.ownerId}} Returns the ID of the user who is the alert’s owner.

{{alert.responders}} Returns the list of responder of the alert.

{{alert.responders.get(index)}} Get the responder specified in index

{{alert.responders.[property]}} Similar to other list types, prints the values of this property of each responder separated by commas. So {{alert.responders.name}} would print name1, name2, name3...

{{alert.responders.get[index].name}} Get name of the responder specified in index.

{{alert.responders.get[index].type}} Get the type of responder.

{{alert.responders.get[index].accountId}} Get the responder’s Atlassian account ID.

{{alert.responders.get[index].teamId}} Get the Atlassian team ID of the responder type.

Still need help?

The Atlassian Community is here for you.