Automation rule to update the end date in parent issue

SSU January 8, 2025

How can we automatically update child issues end dates for higher level issues like parent issues. the parent issue should automatically take the end date & start date based on  first issue or second child issues date  in jira dc how can it be possible. Can we set automation rules for this ?

3 answers

1 vote
Tobias H
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.
January 8, 2025

Hi @SSU!

I'm not familiar with DC, but how I would do something like this in Cloud would be:

Trigger: When issue updated
Add IF/ELSE Conditions (optional)
Then create a "Branch rule / related issue" and select "Parent"
To the branch, add an action to update issue and in the drop down selector you select "Start Date" and "End Date"

In the field you can use parameters like {{issue.subtasks.startDate.min}} {{issue.subtasks.endDate.max}} 

Hope that works for you :)

0 votes
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.
January 8, 2025

Hi @SSU 

When you note parent and child issues, which types of issues are involved?

Kind regards,
Bill

0 votes
Dick
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.
January 8, 2025

Hi @SSU 

Yes you can. With the trigger issue being the story (I assume this is what you call the child of the epic to be updated), you can refer to its parent (using epic link, or depending on your version of Jira, the parent link). Then you can lookup the array of issues that are the children of said epic and find the max date in that lot. You then correct the epic with that date. 

 

Kind regards,

Dick

Suggest an answer

Log in or Sign up to answer