Hi,
I was asked to create an automation that would only run (auto-assign) every saturday from 17:00 till 23:30. However, I don't see an option or a way to achieve that.
It is either on specific date, or specific timeframe, or specific time in seems. I clicked around on conditions but none seem to fit what I need it to do.
Is it possible? If so, how do I achieve that?
Hi @Berik Irgebayev Cron is a time-based syntax for that Jira can use for scheduling jobs to run at a specific time or at specific intervals.
Here's a definition of Cron
I use this page to help me figure out my Cron Expression:
but there a plenty out there.
As Tuncay mentioned, if you click on the Advanced tab, you can add a cron expression to say when you'd like your job to run.
wow, You learn something new every day. Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can schedule an automation rule to run weekly on a specific day, like Saturday, but there isn’t a built-in way to restrict it to a specific time window within that day (17:00 to 23:30). However, you can (to some extent) achieve this by combining a scheduled trigger with conditional checks within the automation.
Set up a schedule trigger to run every hour on Saturdays, (select advanced and type below cron expression
0 17-23 * * 6
This checks every hour on Saturdays between 17:00 and 23:00.
Then add a condition to restrict the time window
{{now.format("HHmm")}}
Condition:
is less than
Value:
2330
and the auto-assign action to run within this time window.
I hope that was helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Tuncay Senturk ,
Thanks for taking the time to answer. Not sure what your mean by "cron expression", but I figured I will keep it simple and simply make it run on Saturday. Even that is not something I can easily find. Seems like I will have to search up JQL condition of sorts...?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By default it shows you the Basic (where you select days, hours etc). If you select Advanced, you'll see cron expression there
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think I clicked about everywhere to find that Advanced option but really can't see it. Is it available in JSM cloud?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.