Changing the date format to d/MMM/yyyy won't reflect in the basic search

XMLWordPrintable

    • 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

      1. Change the year part in jira.date.picker.java.format and jira.date.time.picker.java.format to yyyy
      2. Create an issue to be sure that your search should return results.
      3. Do a basic search using the feature "Created date between". The search won't work as expected
      4. 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:

      1. Write the JQL manually in the advanced search: "created >= 2022-09-01 AND created <= 2022-09-30 order by created DESC"
      2. Instead of choosing the date in the calendar, write it manually on the basic search: "1/Sep/2022"

        1. image-2022-09-27-10-36-03-884.png
          148 kB
          Guilherme Firmino
        2. image-2022-09-27-10-45-57-875.png
          231 kB
          Guilherme Firmino
        3. image-2022-09-27-10-46-45-878.png
          49 kB
          Guilherme Firmino

            Assignee:
            Unassigned
            Reporter:
            Guilherme Firmino (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: