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

Trying to sort on a date time field which is not searchable throws error in JQL

XMLWordPrintable

      Issue Summary

      When we try to sort a Date time field which is not set as "Searchable" in JQL. It throws an error.

      Steps to Reproduce

      1. Create a custom field of type Date time.
      2. Make the "Search Template" as None. Refer screen shot.

      Expected Results

      Should be able to sort in JQL

      Actual Results

      JQL throws an error "An unknown error occurred while trying to perform a search."
      Refer screenshot.

      Workaround

      Make the field as Searchable - Date range picker.

        1. Screenshot 2021-08-19 at 8.46.41 PM.png
          133 kB
          Vijay U
        2. Screenshot 2021-08-19 at 8.47.01 PM.png
          52 kB
          Vijay U
        3. Screen Shot 2021-08-20 at 12.10.06 pm.png
          120 kB
          Franziska Schindler
        4. SuccessfullOrderedCustomField.png
          98 kB
          Franziska Schindler

              vujjannavar@atlassian.com Vijay U
              vujjannavar@atlassian.com Vijay U
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: