Jira automation triggers

Every rule starts with a trigger. They kick off the execution of your rules. Triggers will listen for events in Jira, such as when an issue is created or when a field value is changed.

Triggers can be set to run on a schedule, and can be customized before being applied to a rule.

See how to use all of these triggers in our Jira automation template library.

General triggers

These triggers can be used across all Jira Cloud products.

Field value changed

  • Related smart values{{fieldChange}}

The rule will run when a field value is changed. All system and custom fields are supported by this trigger.

You can use this trigger together with conditions to check the value of fields before performing actions. For example, send an SMS when an issue’s priority changes to greater than high.

When configuring this rule, you can select the fields to monitor for change, or use a regex to match the field names. You can narrow down the fields to monitor by specifying a change type: Value added, value deleted or any changes to the field value. You can also narrow down the issue operations that will trigger this rule – create, edit, transition or assign – or leave it blank to listen to all operations.

Field value changed trigger in automation

Forms submitted

Note that Form-related components are project-specific, so they can’t be configured in Global automation. Form components are only available in project automation.

The rule will run when forms attached to an issue are submitted. When configuring the trigger, you can select any number of forms, which will change how the trigger will act:

  • If no forms are selected: the rule will run when any form is submitted.

  • If one form is selected: the rule will run when that form is submitted.

  • If multiple forms are selected: the rule will only run when all of the selected forms on an issue are submitted.

 

Learn more about form states

Forms submitted trigger in automation

Incoming webhook

  • Related smart values{{webhookData}}

The rule will run when a HTTP POST is sent to a specified webhook URL.

A webhook is a way for a third-party to trigger an automation rule. The webhook can specify issues to act on, or even provide real-time data you can use to update an issue.

When configuring this trigger, you’ll receive a unique URL that you can either add to the third-party application’s outgoing webhook configuration, or make a HTTP POST request from your custom scripts. The trigger also provides details on how to provide issue keys and other data.

You can use the {{webhookData}} smart value to reference the custom XML data provided by the webhook in your rule.

Incoming webhook trigger in automation

Issue assigned

  • Related smart values{{assignee}}

The rule will run when the Assignee of an issue is changed. For example, when an issue is assigned to a specific user, change the issue’s status to In progress and send an email to the reporter to let them know it’s being investigated.

Issue assigned trigger in automation

Issue commented

  • Related smart values{{comment}}

The rule will run when a new comment is added. For example, change the status to In progress when a new comment is added on an issue.

Choosing a comment type allows you to distinguish if a comment was added stand-alone, or as part of a transition. For example, you may want to set an automation rule where a comment added to a closed issue re-opens, or a comment added transitions the status of the issue. The available comment types are:

  • All Comments (default): All comments that are added to an issue.

  • Comment is the main action: New comment is added as a message in the comments section.

  • Comment added during status transition: Comment is added when you change the status of an issue.

  • Comment added while editing issue fields: Comment added while editing one or more issue fields.

Editing a comment will not trigger this rule.

Issue commented trigger in automation

Issue comment edited

  • Related smart values: {{comment}}

This rule will run when a comment is edited. Can be used with the Edit comment action.

Issue comment edited trigger in automation

Issue created

  • Related smart values{{issue}}

The rule will run when an issue is created.

You can use this trigger with actions to customize the new issue, including populating fields, assigning to users, and adding sub-tasks.

Issue created trigger in automation

Issue deleted

  • Related smart values{{issue}}

The rule will run when an issue is deleted. For example, send an email notification that an issue has been deleted.

You can use conditions to refine exactly the issue you are monitoring.

Issue deleted trigger in automation

Issue linked

  • Related smart values{{destinationIssue}}{{linkType}}

The rule will run when an issue is linked to another issue.

You can configure this trigger based on any link type.

Issue linked trigger in automation
  • Related smart values{{destinationIssue}}{{linkType}}

The rule will run when an issue is unlinked from another issue.

You can configure the trigger to only execute for specified link types, or for all issue links.

Issue link deleted trigger in automation

Issue moved

  • Related smart values{{issue}}

The rule will run when an issue is move from one project to another.

You can use this trigger together with conditions and actions to ensure all values, fields and settings are copied across to the new project.

Issue moved trigger in automation

Issue transitioned

  • Related smart values{{issue}}{{changelog}}

The rule will run when an issue transitions from one status to another.

You can configure this trigger so it listens to the status of your choice, or simply any transition in your workflow.

Learn more about transitioning an issue with automation

Issue transitioned trigger in automation

Issue updated

  • Related smart values{{issue}}

The rule will run when the details on an issue are updated.

Exceptions on this trigger include changes made by the Link issueAssign issue and Log work actions.

To trigger a rule when an issue’s status is updated, please use the Issue transitioned trigger instead.

Issue updated trigger in automation

Manual trigger from issue

  • Related smart values{{issue}}

The rule will run when it is manually triggered by a user. This trigger is useful for automating common tasks, or testing or debugging a rule. Learn more about using the Manual trigger to test rules

You can refine which users can manually trigger a rule by selecting a permissions group in the Groups that can run trigger dropdown. Learn more about permission groups

You can also request input before a rule is run by selecting Get input from users. This allows you to set up some fields that will display to users when they trigger the rule. You can choose to make each field mandatory by selecting Required field. If a user chooses not to enter any information and selects Cancel, this won’t count as an execution towards your monthly limits.

Manual trigger from issue in automation

Once a rule is created with a Manual trigger, anyone with access will be able to trigger it by going to an issue and selecting Actions.

Actions menu on issue view with manual trigger

Multiple issue events

  • Related smart values{{issue}}

The rule will run when one or more selected issue events occur. For example, send a Slack message when an issue is updated, transitioned or assigned.

Using this trigger may be easier and more efficient than creating several different rules.

Multiple issue events trigger in automation

Project created

Rule will run when a project is created. For example, this could be useful if you want to create a set of default issues that should be included in all Jira projects.

Scheduled

  • Related smart values{{issue}}

This rule runs on a specified schedule. You can run the rule at a fixed rate (for example, every 7 days), or use a Cron expression for more complex schedules.

You can also choose to enter a JQL query. If you do, actions in this rule will execute on the issues included in the query.

Scheduled rules that reach a Failure status for 10 consecutive executions will disable automatically.

Scheduled trigger in automation

Work logged

  • Related smart values{{worklog}}

This rule will run when a work log is created, updated and/or deleted.

Work logged trigger in automation

Software triggers

The following triggers are only available for Jira.

Sprint created, started, or completed

  • Related smart values{{sprint}}

The rule will run when a sprint is created, started or completed on the selected scrum board.

This trigger will either run for every sprint on that board, or you can narrow this down using a regular expression.

You can use this trigger together with the related issues branch Issue fixed in version to loop through all issues fixed in this version.

Version created, updated, released

  • Related smart values{{version}}

The rule will run when a version is created, updated or released.

You can restrict which versions will trigger this rule using a regular expression.

The Version updated trigger listens for versions being created and released, as well as being amended. Use this trigger if you need to listen for all events around a version.

You can use the Version released trigger together with the related issues branch Issue fixed in version to loop through all issues fixed in this version.

DevOps triggers

These triggers are only available for Jira Cloud when integrated with a source code management tool. Check out the list of compatible tools

Self-hosted or On-Premise tools (e.g. Bitbucket Server, Gitlab On-Premise, Github Enterprise) aren't supported. Though they can still be integrated with Jira Cloud and you'll still get the benefits of integrating in other parts of your software project.

Branch created

You can use conditions to refine the branches you are monitoring with this trigger. The rule will run when a branch is created. For example, when a branch is created that includes an issue key, transition that issue to In progress.

Branch created trigger in automation

Build failed

Rule executes when a build fails. You can configure this rule to only trigger on certain build names, or builds associated with certain branches or tags.

Build failed trigger in automation

Build status changed

Rule executes when the status of a build changes. You can configure this rule to only trigger on certain build names or builds associated with certain branches or tags.

Build status changed trigger in automation

Build successful

Rule executes when a build succeeds. You can configure this rule to only trigger on certain build names or builds associated with certain branches or tags.

Build successful trigger in automation

Commit created

The rule executes when a commit is created. You can use conditions to refine the commits you are monitoring with this trigger.

Commit created trigger in automation

Component created in Compass

The Component created in Compass trigger will cause your rule to run when a component is created in Compass.

You must already have access to a Compass site in order to use this trigger. Discover Compass

You’ll be prompted to set up a connection to Compass the first time you use this component. Read more about connections

Deployment failed

Rule executes when a deployment fails.

Deployment failed trigger in automation

Deployment status changed

Rule executes when the status of a deployment changes.

Deployment status changed trigger

Deployment successful

Rule executes when a deployment succeeds.

Deployment successful trigger in automation

Pull request created

The rule executes when a pull request is created. You can use conditions to refine the pull requests you are monitoring with this trigger. For example, when a pull request is created that includes an issue key, transition that issue to In review.

Pull request created trigger in automation

Pull request declined

The rule executes when a pull request is declined. You can use conditions to refine the pull requests you are monitoring with this trigger.

Pull request declined trigger in automation

Pull request merged

The rule executes when a pull request is merged. You can use conditions to refine the pull requests you are monitoring with this trigger.

Pull request merged trigger in automation

Security triggers

Vulnerability found

Rule is run when a vulnerability in one of your connected security containers is found by your security tool and sent to Jira.

Only vulnerabilities that match a severity you choose will activate the rule, you can choose one one or more severities in the trigger.

Vulnerability found trigger in automation

Jira Service Management 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.

For example, create an incident in Jira Service Management when an alert is created or associate the alert with an ongoing incident.

The alert created trigger on Jira automation

 

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.

Users that can rule this rule: By default, your rule can be run by all logged-in users, but you can allow only specific users and members of a team to run your rule.

Filter alerts to show this rule: You can make your rule available to be run only for certain alerts by choosing alert fields to filter by.

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.

Manual trigger from alert trigger in automation

 

Alert updated

  • 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 updated trigger in automation

 

Alert status changed

  • 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 status changed trigger in automation

 

Alert note added

  • 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.

Alert note added trigger in automation

 

Object trigger

For Jira Service Management only. Rule is run when an object from a specific Assets schema is created, updated, or deleted. This can only be used for global automation rules.

Learn more about Assets in Jira Service Management

Object trigger in automation

Service limit breached

  • Related smart values{{breachedSummary}}, {{breachedRules}}

The rule will run when the daily or hourly processing time service limit is about to be breached (note that it doesn’t monitor other types of services limits, such as the “Items queued globally” limit). Read more about automation service limits

Service limit breached trigger in automation

SLA threshold breached

  • Related smart values{{issue}}

The rule will run when a Jira Service Management SLA has breached or is about to breach.

This trigger allows you to provide timely feedback to customers, alert agents, and automatically prioritize requests accordingly. You can select the SLA to monitor, and the time before or after it has breached to trigger.

Rules using this trigger fail to run as expected in some rare cases, for example:

  • if an SLA breaches exactly when the SLA’s calendar ends for the day

  • if an SLA is set to breach within 6 minutes

  • when there are many SLA-based rules configured in various projects

You can track this bug at JSDCLOUD-10146.

If you’re blocked and if you absolutely have to, you may use the ‘SLA time remaining’ trigger in Legacy automation. Learn more about the SLA time remaining trigger

SLA threshold breached trigger in automation

Approval required

For Jira Service Management only. Rule is run when an issue that requires approval is created or updated, or when new approvers are added to an issue. Learn more about approvals in Jira Service Management

Approval required trigger in automation

Approval completed

For Jira Service Management only. Rule is run when an approval step on an issue is accepted or declined. Learn more about approvals in Jira Service Management.

Approval completed trigger in automation

Emoji reaction to Slack message

Rule is run when a user reacts with an emoji to the issue created by Assist in Slack.

Currently, the trigger works only with issue messages created by the Atlassian Assist app in Slack channels. Learn more about chat

Since this trigger uses the Slack workspace and channels you set up in chat settings, it won’t work unless you connect this service project to a Slack workspace and channel. Learn how to set up chat in Slack

Design triggers

Design linked to issue

The rule will run when a new Figma design is linked to an issue. Learn how to integrate Figma with Jira

You can use this trigger to add a DESIGN-LINKED label to the issue, and notify the assignee that a design has been added.

Design linked to an issue automations rule when Figma design is linked

Linked design updated

The rule will run when a design already linked to an issue is updated.

You can use this trigger to notify the assignee that a design has been updated.

Linked design updated in Jira auotomations triggers

Status of a linked design changes

The rule will run when the status of a design that’s already linked to an issue changes.

You can use this trigger to notify the assignee when a design status has changed, automatically add a status label, or transition the issue to the next status.

A design needs to already be linked

This rule will not run if you’re trying to link a new design to an issue, even if the from or to statuses are blank.

Jira automation trigger for when a status of a linked design changes

Additional Help