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

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

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.
Mar 12, 2023 • edited

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