Triggers

Overview

Triggers automate script execution in response to events, schedules, or user actions. Configure triggers in the script’s Config tab.

Trigger Types at a Glance

Trigger Type Covered in detail
Scheduled (hourly/daily/weekly) Scheduled Triggers
Event (32 Jira events) Event Triggers
Async Event Async Events
UI Modification (onInit/onChange) UI Modifications
Scripted Field (Text/Number/Date/DateTime) Scripted Fields
Automation Jira Automation Integration
Rovo Rovo AI Agent Integration

Context Restrictions

Scripts can be limited to specific projects (up to 50) and issue types (up to 50). When restricted, scripts skip non-matching issues.

For UI Modification triggers, you can also restrict by JSM portals (up to 50) and request types (up to 200).

Configure context restrictions in the script’s Config tab.


Managing Triggers

Adding a Trigger

  1. Open a script in the Console
  2. Go to the Config tab
  3. Click Add Trigger
  4. Select trigger type and configure settings
  5. Save the script

Triggers tab empty state

Add Trigger dialog with trigger type options

Add Trigger dialog showing Rovo option

Enabling/Disabling

Each trigger has its own enabled/disabled toggle, independent of the script’s enabled status. Both must be enabled for the trigger to fire.

Singleton vs Multiple

  • Singleton triggers (Scheduled, Event, UIM, Scripted Fields, Async Event, Automation, Rovo): one per script

Limits

  • Up to 10 triggers per script
  • Global trigger type toggles are available in Administration

Next Steps