Hi everyone,
I'm trying to customize the email notification for an automation I've created.
I'm trying to display the date time of a custom field which is in datetime format but the date that is displayed in the email is not in the same format as in the issue.
The custom field displays the date in the following format:
The settings for the automation look like this:
The date is displayed in the email as follows:
Does anyone know how to format the date in the settings for the automation?
Thanks,
Zaki
Hi @Zaki Ögmundsson Welcome to Atlassian Community!
Currently it's showing in JiraDateTime format. You have to set format of Date field :-
try this :- {{issue.customfield_10133.shortDateTime}}
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/
Thanks
V.Y
Thank you @Vikrant Yadav !
I managed to find the format I was looking for by going through the documentation you linked to in your answer!
Thanks,
Zaki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Cool , Glad to hear it helps you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. Helped. Here is my Content details for one of my Automation emails
When: Scheduled
Then: Lookup Issues
And: Send Email.
Content:
{{#lookupIssues}}
* Issue Key: <b>{{key}}</b> (<a>{{url}}</a>)
* Summary: <a>{{Summary}}</a>
* Assignee: <a>{{assignee.displayName}} </a>
* Created: <a>{{created.shortDateTime}} </a>
* Updated: <a>{{updated.shortDateTime}} </a>
{{/}}
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.