Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to format date value in JMWE notification

Ash
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 9, 2018

Hi All,

We are using JMWE plugin in our advanced workflows. Using this plugin we are sending out notifications to users. How can we format our date output to just mm/dd/yy?

Below are the code and output,

JMWE.JPG

TIA!!

1 answer

1 accepted

3 votes
Answer accepted
David Fischer
Community Champion
October 10, 2018

You can use the "format" method on the value:

${issue.customfield_14102?.format("yyyy-MM-dd")}
Ash
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 15, 2018

@David Fischer Thank you so much.

Suggest an answer

Log in or Sign up to answer