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

How to recalculate if a due date in a parent task is changed

Stephan Kress
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 8, 2023

Dear Jira community!

In my Jira project, there is a sub-task, which is calculating the due-date due to the due-date in the parent task:

{{issue.dueDate.minusbusinessdays(40)}}

If the date is changing in the parent task, how to get an automated recalculation in the sub-task?

Thanks for your help in advance!

1 answer

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.
March 12, 2023

Hi @Stephan Kress -- Welcome to the Atlassian Community!

It seems you already have an existing automation rule.  Please post images of that rule and the audit log details showing its execution.  That may provide context for the community to offer suggestions.  Thanks!

Until we see those...

I hypothesize that your current rule is triggered on Create Issue for the sub-tasks.  That is only one of the possible scenarios needed for your use case.  The others include...

  1. When the parent's due date changes, branch over the open (i.e., not completed) sub-tasks to edit their due date.  (This is the one you asked about.)
  2. When a user directly edits the due date for a sub-task, what do you want to do?
  3. And the edge case: when a sub-task's parent changes, update the due date to match the new parent

Please try implementing #1 as described with a branch and if you need help, please post back here so the community can offer ideas.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events