When I'm trying order search results by entity property without specifying order I'm getting an exception

XMLWordPrintable

    • 2
    • Minor

      Issue Summary

      Ordering search result by entity property without passing `ASC/DESC` is impossible.

      Steps to Reproduce

      1. Create add-on with searchable entity property (https://developer.atlassian.com/cloud/jira/platform/jira-entity-properties/#making-searchable-entity-properties)
      2. Create a query like 
      order by issue.property[myEp].beataIsSuper

      (Where `myEp` is entity property name and `beataIsSuper` is one of extractions)

      Expected Results

      Results are sorted (in some default order ie. DESC).

      Actual Results

      An unknown error occurred while trying to perform a search.
      

      Workaround

      Pass `ASC/DESC` at the end of the query.

        1. Screenshot 2020-11-30 at 12.29.03.png
          49 kB
          Beata Szturemska
        2. Screenshot 2020-11-30 at 12.28.48.png
          24 kB
          Beata Szturemska

            Assignee:
            Unassigned
            Reporter:
            Beata Szturemska
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: