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)}}
Welcome to Atlassian Community
Can you try using this
{{now.plusBusinessDays(6).shortDate}}
Hi @Abhilasha Tyagi 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Tobias! It worked. I used {{now.plusBusinessDays(6).shortdate}} for the desired result using the formats link.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Awesome, happy to hear!
Have a nice weekend :D
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.