Hi Community,how to pick up the last 2 digits of the year using smart values, here I want only 23, not 2023,this smart value I am using at this moment {{now.mediumDate}}.Thank you.
Hi @Chaitanya B ,
You may want to use shortDate to just return the last two digits of the year but the month is returned in number with this.
Check out this documentation it will help https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/
Hello @Chaitanya B
Use the format function.
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/
{{now.format("yy")}}
It looks like you're new here. Sign in or register to get started.