How To Order By In Jira

If you have utilized JIRA as a tool for managing projects or tracking issues, it’s likely that you are familiar with its robust search system that aids in effectively organizing and filtering tasks. Among its various capabilities, the ‘order by’ clause enables you to sort your search results based on designated fields. This article will provide helpful tips on utilizing this feature efficiently.

Understanding the JIRA Query Language (JQL)

Before diving into ‘order by’, it’s crucial to understand the JIRA Query Language (JQL), which is the core of any search within JIRA. JQL is a flexible, versatile and easy-to-use tool that allows you to construct queries, manipulate data and refine your search process in JIRA.

Using the ‘Order By’ Clause

In essence, ‘order by’ sorts the search results of your JQL query based on specific fields in ascending or descending order. For instance, you might want to sort your issues by creation date, priority, or status, among others. Here is an example of how you can use the ‘order by’ clause:


This will order your issues by creation date in descending order, meaning that the most recently created issues will appear first.

Advanced use of ‘Order By’

For a more advanced usage, you can order by multiple fields simultaneously. For instance, if you want to sort your issues by their priority and within each priority by their creation date, you can write:

ORDER BY priority DESC, created ASC

This will first sort your issues by priority in descending order (highest priority first), and then within each priority group, issues will be sorted by creation date in ascending order (oldest issues first).

You can also combine the ‘order by’ clause with other JQL functions for more complex queries. Here’s an example:

    project = "MyProject" AND status = "Open" ORDER BY priority DESC, created ASC

This query will return all the open issues in “MyProject”, sorted first by priority (highest first) and then by creation date (oldest first).

As a final note, remember that ‘order by’ affects only the display of your issues, not the underlying data. This means that you can freely experiment with different orderings without risking any data loss or alteration.


Ordering by specific fields can be an excellent way to gain more insight into your issues and streamline your workflow. Understanding and making full use of the ‘order by’ clause in JIRA’s search engine can significantly boost your productivity and efficiency in managing your projects.