How to change the format of my Date Picker Custom field in my Email post-function please ?
I am using this in the Email template :
<% out << issue.getCustomFieldValue(com.atlassian.jira.component.ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("DatePickerCustomFieldName")) %>
And I am getting this :
2018-04-23 00:00:00.0
I'd like to get :
23-04-2018
Thank you for your help !