Hi @Paka -- Welcome to the Atlassian Community!
Please review the with... functions for date / time as you appear to be using an unsupported one: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/#Date-with-attribute---
There are several ways to do what you ask, including this one:
{{now.withDayOfYear(1).minusDays(1)}}
Kind regards,
Bill
Hi @Paka , Welcome to the community.
Might I ask you to elaborate on what problem you are trying to solve as that might help provide a more complete/helpful answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I created automation and i want to compare two smart values {{worklog.started.format("yyyy-MM-dd")}} and 2024-12-31 i want this second value to be last date of previous year and not to be hardcoded but to be dynamically calculated i tried {{now.minusYears(1).endOfYear}} but it didnt work, any solutions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.