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 |
| Workflow Post Function | Workflow Post Function |
| Workflow Validator | Workflow Validator |
| Workflow Condition | Workflow Condition |
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
- Open a script in the Console
- Go to the Config tab
- Click Add Trigger
- Select trigger type and configure settings
- Save the script
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, Workflow Post Function, Workflow Validator, Workflow Condition): one per script
Limits
- Up to 10 triggers per script
- Global trigger type toggles are available in Administration
Next Steps
- Script Console - Configure triggers via Config tab
- Administration - Global trigger type controls
- Scripted Fields - Field computation triggers
- UI Modifications - Form customization triggers
- Jira Automation Integration - Run scripts from Jira Automation rules
- Rovo AI Agent Integration - Expose scripts to Rovo AI
- Workflow Post Function - Run scripts after workflow transitions
- Workflow Validator - Validate workflow transitions before they complete
- Workflow Condition - Control transition availability with Jira Expressions



