I need date to be added in the summary of a issue created automatically via rule. I am using the below smart value but it does return a Timestamp. Is there a way to retrieve just the date?
{{now.plusBusinessDays(6)}}<br>
Hi @Tyagi, Abhilasha and welcome to the Community!
Yes, if you slightly change the smart value to
{{now.plusBusinessDays(6).jiraDate}} or, if you want to set the date format yourself you can do so with {{now.plusBusinessDays(6).format("yyyy-MM-dd")}} and select the format you like. All different extra formats can be found here: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/
Best, Tobias
Hi @Tyagi, Abhilasha
Welcome to Atlassian Community
Can you try using this
{{now.plusBusinessDays(6).shortDate}}
Thank you Tobias! It worked. I used {{now.plusBusinessDays(6).shortdate}} for the desired result using the formats link.
Awesome, happy to hear!
Have a nice weekend
It looks like you're new here. Sign in or register to get started.