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
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
I met a problem when I set the initiative due date by looking up all epics in this initiative, see below:
My Automation rule runs correctly and I got what I want, I set a scheduled job to run all the epics and find the Parent Link - initiative, then I set the initiative due date by looking up the max due date in epics.
The problem I met is when I run the job for all epics and try to find the corresponding initiative, some with initiative runs exactly what I want, but some of epics without initiative, in this case, Automation rule will fail and notify me by email which is quite annoying.
Can I add any step that even some epics don't have initiative, this Automation can still run successfully and not alarm me by email?
I am assuming the JQL for your Scheduled Trigger is only finding the epics which are not completed. Is that correct?
Back to your question...
First thing, there is no need for that Re-fetch Issue action so I recommend removing it. That action is needed for two cases: immediately after the Issue Created trigger to slow down a rule, and when an issue is edited by a rule and you want to use the updated information later in the rule.
Regarding the error you see, that it saying when the scheduled trigger provides an epic without an initiative it cannot work. The fix for that is to put an advanced compare condition immediately before the branch and test that the parent field is not empty.