Hi. I've set up a scheduled job using the following Cron expression and JQL statement
Cron Expression: 0 49 15 ? * THU *
project = ICSD AND labels = ICN_Test AND status not in (Closed, done, canceled, backlog, ongoing, "On Hold") AND updated <= 5m
It is successfully adding a comment and creating an email as the resulting action
Where I'm struggling is that if the request is updated within a 5 minute window, the cron still runs anyways and the email is created and comment added.
Bascially, the desired outcome is no update is provided 5 minutes or later, the script should create an action, however a comment is added within the time script is run up until 5 minutes then no resulting action should take place.
Just wondering where I'm going wrong here. Thanks.