Details
-
Bug
-
Resolution: Fixed
-
High
-
20
-
Severity 3 - Minor
-
1
-
Description
Issue Summary
Users are unable to use the date time picker field in the sub-task creation via the new Jira issue view.
Environment
Steps to Reproduce
- Create a date time picker custom field and enable it for a project.
- Change the field configuration for that custom field to be required.
- Open a standard issue with the new Jira issue view.
- Create a sub-task. Since there is required field, the create form will pop-up
- Try to click on the calendar icon for the data time picker custom field.
Expected Results
The picker should work.
Actual Results
The custom field does not work and a browser console error is returned.
batch.js?adg3Enabled=true&devsummary=true&globalSidebarEnabled=true&jag=true&locale=en-US:5057 Uncaught TypeError: Cannot read property 'DEF_DATE_FORMAT' of undefined at new Calendar (batch.js?adg3Enabled=true&devsummary=true&globalSidebarEnabled=true&jag=true&locale=en-US:5057) at n (batch.js?adg3Enabled=true&devsummary=true&globalSidebarEnabled=true&jag=true&locale=en-US:5060) at HTMLAnchorElement.<anonymous> (batch.js?adg3Enabled=true&devsummary=true&globalSidebarEnabled=true&jag=true&locale=en-US:5060) at HTMLAnchorElement.dispatch (batch.js?adg3Enabled=true&devsummary=true&globalSidebarEnabled=true&jag=true&locale=en-US:82) at HTMLAnchorElement.h (batch.js?adg3Enabled=true&devsummary=true&globalSidebarEnabled=true&jag=true&locale=en-US:74)
Notes
The field itself does not need to be required.
Having any other field required (even with the field required validator) will do. The date picker calendar will not work in the sub-task create screen in any scenario.
The Date Picker field type is also affected.
The same behavior can be observed when creating Tasks under Epics
Workaround
option 1 : Switch to the old view on the parent issue and create the sub-task from there.
option 2 : Force the calendar to load
- Click on the create icon from the sidebar. Click on the calendar for any date time picker field and cancel.
- Try to create the sub-task again and the date time picker should start working.
option 3: Directly enter the date time picker value following the site time zone format. For example the format, dd/MMM/yy h:mm will be entered as 22/Jan/20 05:10 PM
Attachments
Issue Links
- duplicates
-
JRACLOUD-72865 When creating a child issue inside an Epic, it is not possible to use the Date Picker to fill Due Date field
- Closed
- is duplicated by
-
JRACLOUD-72554 Custom field of Datepicker field type doesn't work on new issue view for Sub-task Issuetype
- Closed
-
JRACLOUD-72623 Date Picker/Date Time Picker not working in sub-task create screen
- Closed