I have found this to calculate next Monday how do I calculate the Monday of this week, even if in the past.
{{now.withNextDayOfWeek("MON")}}
Hoping its
.withNextDayOfWeek("MON").minusDays(7)
Hi @Myles Boyd
Please try using one of the with... functions, such as
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/#Date-with-attribute---
Kind regards,Bill
UPDATE:
Those functions are not working with the inline format for Jira Cloud, tested as recently as today, 15 Feb 2025 0845 Pacific Time. I do not know when they stopped working.
The only one that is currently working is the long-format of withDayOfWeek():
{{#now}}func=withDayOfWeek(1), format="yyyy-MM-dd"{{/}}
Please see a related post on my testing for the functions:
https://community.atlassian.com/t5/Jira-questions/Re-Re-Auto-popute-Due-date-field/qaq-p/2945838/comment-id/1104337#M1104337
It looks like you're new here. Sign in or register to get started.