Hi
Am trying to schedule a task using Jira Automation to send an email when a certain time is about to be reached. For example, we have a start date field which when populated with the value 11/May/22 13:50, we would like an email to be sent to the assignee approximately 5/10 minutes before the start time, so in this case, email should be sent around 13:40.
I have this currently setup, project = "Project1" AND "Start Date" <10m
I think it works, but maybe my JQL is wrong as its picking up a lot of older issues issues.
Any help appreciated
Thanks
Hi @Nadeem Zakir ,
the date field nearing current time is not a trigger, so if you want to do this, you should use a scheduled trigger, where the rule is scheduled to run every hour,.. (10 minutes might be a bit often).
Your JQL should narrow the issues that fall in that time window.
What you JQL says is: the Start date lies before 10 minutes in the future. So that is everything up til now and in the next 10 minutes.
So your JQL might be:
"Start date" >= now() AND "Start date" < 10m
this means the start date must be now, or between now and 10 minutes in the future.
If you "window" is 10 minutes, you need to run the rule every 10 minutes of course to not miss issues.
Make sure you don't overload the system and if possible, choose bigger windows or really limit the scope of the automation rule.
Hope this helps,
Tessa
Hi Nadeem!
Can you try this:
project = "Project1" and "Start Date" > 9m and "Start Date" < 11m
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.