Hello everyone,
I want to calculate a field using automation. Starting from the start date, I want to calculate 20 weeks into the future and if it is not a Monday, I want to use the next Monday. Atlassian has introduced the two commands mentioned above, but it seems that they cannot be used in one command. I have tried the following so far:
direkt way:
{{issue.start Date.plusWeeks(20).withNextDayOfWeek("TUE")}}
{{issue.start Date.withNextDayOfWeek("TUE").plusWeeks(20)}}
and indirekt way:
Create variable:
Var: {{varPlusWeek}} which has the following smart value included: {{issue.start Date.plusWeeks(20)}}
And in the next step with extention:
{{varPlusWeek.withNextDayOfWeek("TUE")}}
But nothing has worked. Is it simply not possible, e.g. due to the format or other reasons, or am I making a mistake here? Thank you very much.
Best regards
Chris