Hello,
I'm trying to show a simple Date of a DateTime custom field value. in JETI email template on JIRA Cloud.
Here is my code in the email template:
#set($formatter = $!jetiFieldFormatter.getJiraDateTimeFormatter("dd-MM-yyyy"))
Date1: $!jetiFieldFormatter.formatSafely($formatter,$!issue.getCustomFieldValueAsObject("customfield_10115"))
Date2: $!jetiFieldFormatter.formatSafely($formatter,$!jetiFieldRenderer.renderCustomFieldAsObject($issue, 'customfield_10115'))
Both of the Dates are empty (nothing is shown), although #renderCustomField($!issue, 'customfield_10115') returns the right value (in the full format).
Am I missing something or doing something wrong or is this a bug?
Community moderators have prevented the ability to post new answers.
Hi!
Have you fixed it? Just curious.
Cheers,
Gonchik Tsymzhitov
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Apply agile practices
Transform how you manage your work with agile practices, including kanban and scrum frameworks.
Learning Path
Configure agile boards for Jira projects
Learn how to create and configure agile Jira boards so you can plan, prioritize, and estimate upcoming work.
Jira Essentials with Agile Mindset
Suitable for beginners, this live instructor-led full-day course will set up your whole team to understand how to use Jira with an agile methodology.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.