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.
Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.
Get Certified! ✍️Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.