How to get sub-task to inherit modified parent due date

Ross Gurowich
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 4, 2025

We have a new project process that kicks off when a new project ticket is created. This then creates all the sub-tasks for that projects and assignees them to the relevant person and sets the due date. I need to be able to set the due date for some of the sub-tasks based on the due date of the parent ticket that kicked off the process. I am setting the due date of the original ticket by using {{now.PlusBusinessDays(84)}} which works. 

I am then trying to set the due date of the sub-task using {{triggerIssue.dueDate.minusDays(2)}} but this never sets the due date. I have tied everything I can find online and on here but nothing seems to work. There are no errors in the audit log either. 

Anyone know where I am going wrong? Any help would be great. 

EDIT: this is for Jira work management. It won't let me create a ticket with that product for some reason...

1 answer

1 accepted

2 votes
Answer accepted
Karan Sachdev
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 4, 2025

Hey @Ross Gurowich

 

Could you please confirm if you're updating the Parent's due date and then updating the sub-tasks due date in the same rule?

If yes, it is expected that this won't update the due date on the subtask, because the automation takes the issue fields' values when the rule is triggered. The due date field on the parent ticket is empty when the rule is triggered, hence no due date on the subtasks.

To address this, you can set the due date for the parent. Then use a 'Re-fetch issue data' action component in your rule.

Adding your smart value ({{triggerIssue.Due Date.minusDays(2)}}) after this action should populate the due date on the subtasks.

Thanks!

Ross Gurowich
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 4, 2025

Thank you so much! I wasn't re-fetching the data. This works now. 


Thanks!

Like Karan Sachdev likes this

Suggest an answer

Log in or Sign up to answer