Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Automation Error - find the parent link of epics

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?

 

Untitled picture.png

1 answer

1 accepted

1 vote
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 07, 2023

Hi @nessie.liu 

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.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events