You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Description
Hi,
I would like to change the date format in the 'email content' of the SLA notifier. I currently have the below code but it appears as '2018-09-22 13:55:00.0'.
Can it be set to normal format?
Log On : $
{issue.getCustomFieldValue($customFieldManager.getCustomFieldObject('customfield_11201'))}
Log Off : $
{issue.getCustomFieldValue($customFieldManager.getCustomFieldObject('customfield_11202'))}
Network Engineer : $
{issue.getCustomFieldValue($customFieldManager.getCustomFieldObject('customfield_11302')).getDisplayName()}
Hello @Robert Bromley
Sorry for the late response
You can change date format either using $dateTimeFormatter or $dateTool
Details can be found here
Hello @Robert Bromley
Did it fix your problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tuncay,
Yes sorry it worked, i will accept your answer now
$dateTimeFormatter.format(${issue.getCustomFieldValue($customFieldManager.getCustomFieldObject('customfield_11109'))})
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm glad to hear that it worked :)
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.