Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-83307

Jira JQL search doesn't respect the ISO8601 and personal settings both on Calendar and when using startOfWeek endOfWeek functions

XMLWordPrintable

      Issue Summary

      When opening any calendar in the JQL search, the calendar's first date is Sunday, even if the user's personal settings are Europen countries, for example, English Uk

      This also impacts the startOfWeek and endOfWeek function on filter searches. Dashboards correctly consider the ISO8601 (Monday week start) setting, while JQL searches do not. This means that the same filter can return different results between the search view, and when displayed on a dashboard.

      Steps to Reproduce

      1. Go to your personal settings
      2. Click the profile settings page, change the Language to English UK (for example)
      3. Go to Jira and open a ticket
      4. Check any date field, the start date of the calendar will be Monday
      5. Go to any project > Issues
      6. In search click + more and search for the Due date
      7. Click Between and open the calendar.
      8. Calendar starts on Sunday

      Expected Results

      The calendar starts on Monday

      Actual Results

      The calendar starts on Sunday

      Workaround

      Currently, there is no known workaround for the calendar itself.

      For filter searches you can use startOfWeek("+1d") and endOfWeek("+1d"). While on dashboards simply use the default functions.

              Unassigned Unassigned
              78538e785fe1 Lígia Zanchet (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: