Scheduler
Automate issues creation of repetitive tasks with a built-in template scheduler 🚀
Contents 👇🏼
Cron expression
You have the option to automate issue creation from a template by utilizing a CRON expression, enabling you to establish a highly precise schedule for your template.
Locate the specific template you wish to schedule.
Click on the 3-dots menu and choose Edit.
Proceed to the Scheduler tab.
Select the CRON option from the Trigger type dropdown list.
Enter the CRON value:
5.1 Fill in the CRON expression field with the desired schedule.
5.2 Choose a Timezone or stick with the default setting.
5.3 Choose a Starting from date (or stick with the default, which is the current date).
Click on the Show 10 next runs link in the Next run panel to review the schedule.
Let's save the template. Going forward, all issues will be generated according to the CRON expression you have defined for the template.
💡HINT: All issues created according to the schedule can be found on the History tab → Template History
You can easily identify a template with a schedule set up by checking the Next run information in your list of templates.
☝🏼NOTE: Even if you have set up a schedule for a template, you can still manually apply it whenever necessary. Clicking on the "Create Issue(s)" button will not deactivate the schedule.
Examples of CRON expressions
Understanding CRON expressions may have a steep learning curve. Therefore, we recommend exploring a few examples that can be integrated into your templates:
Daily at a specific time, for instance, 10 AM -
0 10 * * *
Weekly on every 7th day at 8 AM -
0 8 */7 * *
Monthly on the first day at midnight -
0 0 1 * *
Quarterly on the first day of the quarter -
0 0 1 1,4,7,10 *
Interval
Unlike CRON expressions, the Interval option offers a more convenient method to establish a schedule for your template.
Locate the specific template you wish to schedule → start editing the template → select the Interval option at the Scheduler tab.
Set your schedule by selecting your preferred options. You have the flexibility to set it to repeat every day, week, month, or on specific days of the week or month.
Just like for the Cron expression, you need to select a preferred time along with the Timezone and Starting from values for your schedule.
Review the next 10 runs displayed in the Next Run panel and remember to save the template.
Your scheduler is now set up and ready to go, allowing you to relax, knowing that your recurring tasks are effectively organized! 🚀
Interval with deadline NEW
he Interval with Deadline scheduler is designed for tasks that need to be triggered by a specific deadline. This feature offers flexibility by allowing you to set both the deadline and the number of days in advance for the task to be created, ensuring tasks are initiated well before critical dates.
Here’s how it works:
Locate the specific template you wish to schedule → start editing the template → select Interval with Deadline in the Scheduler tab.
Select Starting from – this is the date when the rule becomes active.
Choose the appropriate option for Deadline is every → e.g., 1 Month on the Last day of the month
Pick the suitable time and time zone if necessary.
In the Start Days Before Deadline field, enter how many days before the deadline you want the task(s) to be created.
Example: If your deadline is the last day of the month and you set "Start Days Before Deadline" to 5, the task(s) will be triggered 5 days before the deadline, automatically adjusting for months with different lengths.
Once configured, you can review the upcoming 10 scheduled runs and their related deadlines in the Next run panel and save your template.
After saving, the Next run and relevant Deadline values will be displayed in the template list for easy reference.
With CRON, Interval, and Interval with Deadline schedulers, you can automate recurring tasks and stay ahead of key deadlines. Use smart variables like {{deadline}}
to populate tasks with relevant data, ensuring smooth and efficient workflows. Set your schedules and let the system handle the rest, keeping your team focused on execution. 👩🏽💻