Use Custom Directive Date Formatting (JEMH Server/Dc)

Scenario

An incoming email carries a Directive for a Date or Date Time picker which does not use the same format as the system default. When parsing the date the value can be misread or fail to parse. JEMHC allows a custom date format to be applied when parsing extracted date values at Profile > Issue > Dates.

The format defined here are used to parse the date into a Date object which is then displayed by using Jira’s Date Format settings within Jira Administration > System > General Configuration > Advanced Settings:

Jira uses Java SimpleDateFormat to define Date and time formats, documentation found here:

Example Formatting (Date Picker)

Provided Value

Format

Provided Value

Format

21/07/2021

dd/MM/yyyy

2021-07-21

yyyy-MM-dd

21 July 2021

dd MMMM yyyy

Example Formatting (Date Time Picker)

Provided Value

Format

Provided Value

Format

21/07/2021 12:00 AM

dd/MM/yyyy h:mm a

21/07/2021 12:00 AM PST

dd/MM/yyyy h:mm a z

21/07/2021 12:00+02:00 AM

dd/MM/yyyy h:mmXXX a