You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.