Project Triggers
Permissions
To access Project Trigger by a user special permission needs to be granted - The Scheduler: Project triggers.
Without it when user won’t see the page present in navigational menu.
However in few situations page might be visible but when user tries to access the Project Trigger page without permission will receive an error that page doesn’t exist.
Location
Project Triggers can be found in navigation menu in your sidebar. After clicking More Project Triggers will be there.
Project Triggers Limit
You can create many Project Triggers but there can only be 50 scheduled issues assigned. Current number of set scheduled issues with Project Triggers is displayed above the Project Triggers Table.
When limit is reached error will be displayed when user tries to create scheduled issue with Project Trigger.
Managing Project Triggers
Project Triggers table is build with following columns:
Name
Description
Usage Count - Number of scheduled issues currently using this Project Trigger
Type
Execute
Start Date
End Date
Timezone
Create
You can create Project Trigger by clicking Add Project Trigger button.
It will display a pop up to add Project Trigger. Fields present there are:
Project Trigger Name
Project 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 Project Trigger will be present in the table.
Edit
You can Edit Project Trigger by clicking More → Edit on the right side. Same window will appear like during creation allowing you to change Project Trigger.
Remove
You can Remove Project Trigger by going to the right and clicking More → Remove. It will remove single Project Trigger.
You can also Bulk Remove Project Triggers. Select number of Project Triggers and click Remove located above the Project Trigger table. Selected Project Triggers will be deleted.
If any of selected Project Triggers are currently used by scheduled issue then a warning will appear.
You cannot remove Project Trigger when it’s in use. You can Close the window and Edit scheduled issues so Project Trigger is not in use or click Unselect used triggers. This option will remove selection on used triggers leaving only Project Triggers that are currently not used.
After clicking Remove unused Project Triggers will be deleted leaving only used Project Triggers.
Creating SI with Project Trigger
Project Trigger can be used in 3rd step of SI Wizard through option called Predefined Trigger.
In there you click on field Project Trigger and select the ones you want to use. After selecting one Execution Preview will display upcoming executions and below the Project Trigger field information about selected Project Trigger will be listed.
After clicking Submit SI will be created. A label next to the Execute button will be present showing that Project Trigger is in use there.
Limitations
Export/Import SI with Project Trigger
You can Export SI with used Project Trigger however Importing them will convert the Project Trigger to standard trigger. Import SI if earlier was with Project Trigger will no longer be assigned to its original Project Trigger and label also won’t be present.
Move/Clone to project
This option has been disabled when Project Trigger is in use in selected SI.
Feel free to tell us what topic should be covered: thescheduler@psc-software.atlassian.net