I would like to, once a task is created, automatically create a subtask with due date as two Fridays before the due date of the task.
I tried by using:
{{issue.duedate.withNextDayOfWeek("FRI").minusDays(14)}}
However, if the task is on
Since if the due date is on Friday this might not work, I tried by using If/else but it doesn't seems working.
Any clues on how can I make it please?