Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Formatting DateTime doesn't seem to work on JETI Cloud

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?

1 answer

0 votes

Hi! 

 

Have you fixed it? Just curious. 

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Agile

Master the art of thinking big, working small: A conversation with John Cutler

Hello all! It has been 20 years since the agile manifesto was introduced, and closer to 40 years since software development began moving away from a waterfall-type approach. While many teams have ...

1,473 views 11 28
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you