hello,
We have a problem with the datepicker on our reports (based on report plugin).
The default value is not the actual date.
It works fine before the migration from JIRA 6 to JIRA 7.2.4.
The plugin is described in the Atlassian-plugin.xml and we do not have any template or js to display the form to create the report.
<property>
<key>startDate</key>
<name>name</name>
<description>description</description>
<type>date</type>
</property>
<property>
<key>endDate</key>
<name>name</name>
<description>description</description>
<type>date</type>
</property>
I don't know how to set the default value of the datepicker and I don't undestand what is the cause.
Thank you for your help.
Community moderators have prevented the ability to post new answers.
Some more information :
we pass daFormat : "%Y/%m/%d" and date : "29/11/16" to the calendar.setup; which cause the probiem.
The correct date for the daFormat should be : "2016/11/29".
I still don't know how to configure the date format to be correct.
Here are the conf about the datepicker date format :
jira.date.picker.java.format : d/MMM/yy
jira.date.picker.javascript.format : %e/%b/%y
jira.date.time.picker.java.format : dd/MMM/yy h:mm a
jira.date.time.picker.javascript.format : %e/%b/%y %I:%M %p
Thank you for your help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.