For managing my own tasks I want to order them by priority DESC but also not miss the time critical ones which have a due date in upcoming or already passed. Does anybody know a way to sort like this in Jira Query Language (JQL)? E.g. in SQL:
ORDER BY IF(duedate<NOW(), duedate, 0) ASC, priority DESC
Any idea or workaround?