Regarding date format

Naveen kumar October 24, 2024

User needs to get a notification email when a custom field (Date) is changed . I have achieved this using script runner under listener, but the user needs the date to be in certain format. can you help me out.

Current date format :  2024-09-14 00:00:00.0

 

user requested format : 14th october

1 answer

1 accepted

2 votes
Answer accepted
Tobias H
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 24, 2024

Hello @Naveen kumar!

I don't know anything about Scriptrunner, but if it uses Atlassian smart values you should be able to at least get "Oct 14, 2024".

Look at this documentation and find your pick: https://confluence.atlassian.com/automation/jira-smart-values-date-and-time-993924864.html

 

Naveen kumar October 24, 2024

Thanks for the input , ill figure it out from there

Like Tobias H likes this
Tobias H
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 24, 2024

No problems and good luck! 

Suggest an answer

Log in or Sign up to answer