Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Update date Epic from child issues

Hi, I have created a rule to update date Epic from child issues, but how to do it for already set dates - check now the dates and update? I can't manage to make the syntax; this below doesn't work: Capture.JPG

1 answer

0 votes
John M Funk Community Leader Jun 14, 2022

Hi Diana,

You wouldn't need to use the lookupIssues function. 

Create a Scheduled trigger rule. Add JQL to get your list of issues. 

Then do your advanced compare above.

Next, add your New Action for Edit issue to update the field you want to change. 

Save and Publish all of that. 

Then click the Run Rule Now button for it to run through all of the issues. 

You might want to test first by using a single issue in your JQL - something like key=ABC-123. If that's successful, then modify your JQL to get the first list of issues. 

One it runs successfully and updates all of the issues, you probably want to disable the rule so that it doesn't fire everyday. 

Hi John,

The advanced compare is what I can't manage - {{lookupIssues.Target End Date.max}} doesn't work; can you propose syntax that I can use to filter tickets within Epic?

John M Funk Community Leader Jun 14, 2022

Sorry, yes - just replace the lookupIssues. with issue.

It's not working; ({{TriggerIssue.Target End Date}}) is also not working as there is no trigger - I need to execute check for all tickets as they are now.

Also tried {{child.issue.Target End Date.max}} - not working.

Any idea of other syntax?

John M Funk Community Leader Jun 15, 2022

Can you share the entire rule? 

Yes, sure; schedule is simple - tickets not Done, Cancelled or Rejected, every 2hours and:


John M Funk Community Leader Jun 16, 2022

What is the relationship between the parent and children - is it Epics and children? Or Story and sub-tasks? 

There are tickets Story & Task within the Epic

John M Funk Community Leader Jun 16, 2022

Try using {{issue.Target End Date.max}} for the top value

and {{issue.parent.Target End Date}} for the second value. 

It didn't work; tickets didn't march the rule.

I think even with previous syntax is could work, but due to the fact that there is no trigger as it's a scheduled change, no change will happen:


Like John M Funk likes this
John M Funk Community Leader Jun 16, 2022

Yeah, that's the issue with Scheduled. You might try doing the scheduled rule, and set a value on the Epic. Then do your trigger based on that field changing on the Epic. Then maybe you could use Trigger Issue. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

389 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you