Global Triggers
We’ve added an option to create triggers that can later be used by users in scheduled issues.
Location
Global Triggers are located in Manage your apps → The Scheduler → Global Triggers.
Permissions
Global Triggers can be accessed and created by admins. Users can later use those created Global Triggers later when creating Scheduled Issues.
Global Trigger Limit
You can create many Global Triggers but there can only be 100 scheduled issues assigned. Current number of set scheduled issues with Global Triggers is displayed above the Global Trigger Table.
When limit is reached error will be displayed when user tries to create scheduled issue with Global Trigger.
Managing Global Triggers
Global Trigger table is build with following columns:
Name
Description
Usage Count - Number of scheduled issues currently using this Global Trigger
Type
Execute
Start Date
End Date
Timezone
Create
You can create Global Trigger by clicking Add Global Trigger button.
It will display a pop up to add Global Trigger. Fields present there are:
Global Trigger Name
Global Trigger Description
Trigger Type
Interval
Repeat - Frequency of executions
Repeat - number of executions
First Execution Date
End Date
Run Once
Execution Date
Cron
Mode
Simple
Advanced
Cron Expression
Start Date
End Date
Timezone
After populating required fields and clicking Add button at the bottom of the window Global Trigger will be present in the table.
Edit
You can Edit Global Trigger by clicking More → Edit on the right side. Same window will apear like during creation allowing you to change Global Trigger.
Remove
You can Remove Global Trigger by going to the right and clicking More → Remove. It will remove single Global Trigger.
You can also Bulk Remove Global Triggers. Select number of Global Triggers and click Remove located above the Global Trigger table. Selected Global Triggers will be deleted.
If any of selected Global Triggers are currently used by scheduled issue then a warning will appear.
You cannot remove Global Trigger when it’s in use. You can Close the window and Edit scheduled issues so Global Trigger is not in use or click Unselect used triggers. This option will remove selection on used triggers leaving only Global Triggers that are currently not used.
After clicking Remove unused Global Triggers will be deleted leaving only used Global Triggers.
Creating SI with Global Trigger
Global Trigger can be used in 3rd step of SI Wizard through option called Predefined Trigger.
In there you click on field Global Trigger and select the ones you want to use. After selecting one Execution Preview will display upcoming executions and below the Global Trigger field information about selected Global Trigger will be listed.
After clicking Submit SI will be created. A label next to the Execute button will be present showing that Global Trigger is in use there.
Export/Import SI with Global Trigger
You can Export and Import SI that is using a Global Trigger. Importer will try to match the name of a Global Trigger. If there’s a match then SI will be imported successfully otherwise error is displayed and when trying to import anyway the import will fail.
Limitations
Move/Clone to project
This option has been disabled when Global Trigger is in use in selected SI.