What are triggers?
Every rule starts with a trigger. They kick off the execution of your rules. Triggers will listen for events in Jira or others tools, such as when an alert is created. View all automation triggers
Alert created
Related smart values:
{{alert}}
The rule will run when an alert is created. You can use this trigger to perform actions on Jira Service Management when an alert is created.
Alerts can be opened from the Operations section in your service project’s sidebar.
For example, create an incident in Jira Service Management when an alert is created or associate the alert with an ongoing incident.
Manual trigger from alert
Related smart values:
{{alert}}
The rule is run when it is manually triggered by the user from Actions on an alert. For example, run an SSM document if the alert description contains certain keywords when the user manually triggers the rule.
Optionally, you can select Prompt for input when the rule is triggered if you want the user who triggers the rule from an alert to input any information before the rule is run.
Alert updated COMING SOON
Related smart values:
{{alert}}
The rule is run when an alert’s priority, summary, or description is updated. For example, create an incident of P3 priority in a service project when an alert’s priority changes to P1.
Alert status changed COMING SOON
Related smart values:
{{alert.status}}
The rule will run when an alert’s status changes. For example, send a message to a Slack channel when an alert’s status changes to OPEN.
Alert note added COMING SOON
Related smart values:
{{alert.note}}
The rule will run when a new note is added to an alert. For example, send an email when a note is added to an alert.
Smart values for alerts
What are smart values?
Smart values allow you to access and manipulate issue and alert data within Atlassian Cloud. They can add significant power and complexity to your rules. Learn more about using smart values in Jira
{{alert}}
{{alert.id}}
{{alert.tinyId}}
{{alert.link}}
{{alert.status}}
{{alert.message}}
{alert.count}}
{{alert.description}}
{{alert.tags}}
{{alert.priority}}
{{alert.actions}}
{{alert.entity}}
{{alert.alias}}
{{alert.source}}
{{alert.extraProperties}}
{{alert.owner}}
{{alert.ownerId}}
{{alert.responders}}
{{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 (works only for responders of type ‘user’)
{{alert.responders.get(index).teamId}}
Get the Atlassian team ID of the responder type (works only for responders of type ‘team’)
0 Comments