-
Type:
Bug
-
Resolution: Not a bug
-
Priority:
Low
-
None
-
1
-
Minor
Issue Summary
Upon changing the year part in jira.date.picker.java.format and jira.date.time.picker.java.format to yyyy instead of yy, and trying to do a search for issues, while using the feature on the basic search "Created date between", returns 0 issues.
Upon checking the JQL, it's possible to see that the date is set as 0022 instead of 2022, causing the search to not work as expected.
Steps to Reproduce
- Change the year part in jira.date.picker.java.format and jira.date.time.picker.java.format to yyyy

- Create an issue to be sure that your search should return results.
- Do a basic search using the feature "Created date between". The search won't work as expected

- Click on "Switch to JQL" and check the query

Expected Results
The search returns the issues created between the date range
Actual Results
The search doesn't return the issues created between the date range because the query is not accurate.
Workaround
There are two possible workarounds:
- Write the JQL manually in the advanced search: "created >= 2022-09-01 AND created <= 2022-09-30 order by created DESC"
- Instead of choosing the date in the calendar, write it manually on the basic search: "1/Sep/2022"