Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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

Suggest an answer

Log in or Sign up to answer
0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 21, 2018

Hi! 

 

Have you fixed it? Just curious. 

 

Cheers,

Gonchik Tsymzhitov

TAGS
AUG Leaders

Atlassian Community Events