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...