Hi,
I have an entity property of type number with an alias ‘myEntityProperty’.
The following JQL fails: order by myEntityProperty
If I add “asc” or “desc” at the end of the query, the JQL works fine. Standard Jira fields that support ordering don’t required the explicit sort order.
Atlassian Support suggested that a default ordering can be specified for entity properties. Is anyone aware of how to specify it?
If I add “asc” or “desc” at the end of the query, the JQL works fine. Standard Jira fields that support ordering don’t required the explicit sort order.
If you remove the DESC from your query I’m pretty sure Jira will complain with a server error which seem to be a Jira bug.
unfortunately I have confirmed that the behaviour you pointed out is a Jira bug. I created a ticket to track it yesterday. I suppose that resolving it will apply some default ordering on entity properties. If you believe that possibility of defining a default order for every entity property/extraction can be valuable from vendor perspective, you should create some ACJIRA ticket.