Enable calendar in date pickers

In some cases you can get an error “The JIRA Calendar does not currently support your language.“ when you trying to change date with built-in datepicker

To solve this problem you should:

  1. Add Javascript file with Ukrainian translation to atlassian-jira/includes/js/calendar/lang/

  1. Add this javascript file as a downloadable web resource. Modify the file system-webresources-plugin.xml to include the following:

    1 2 3 4 5 6 7 8 9 <web-resource key="calendar-uk" i18n-name-key="admin.web.resources.plugin.calendar.uk.name" name="Calendar" state='enabled'> <resource type="download" name="calendar-uk.js" location="/includes/js/calendar/lang/calendar-uk.js"> <param name="source" value="webContextStatic"/> </resource> <context>atl.global</context> <context>atl.general</context> <context>customerportal</context> </web-resource>
  2. Add an entry mapping the filename to your language code uk=calendar_uk.js in the file "jira-install-dir"/atlassian-jira/WEB-INF/classes/calendar-language-util.properties

  3. Reboot Jira.