Introduction to JQL
JQL is one of the best features in JIRA; it lets you search the issues efficiently and offers a lot of handy features. The best part about JQL is that it's very easy to learn, thanks to the autocomplete functionality in the Advanced search that offers suggestions to the user based on the keywords typed.
JQL consists of either single or multiple questions. These questions can be combined to form complex questions.
The basic JQL syntax
JQL has a field followed by an operator. For instance, to retrieve all the issues of the CSTA
project, you can use a simple query like this:
project = CSTA
Now, within this project, if you want to find the issues assigned to a specific user, use the following query:
project = CSTA and assignee = ravisagar
There might be several issues assigned to a user and maybe we just want to focus on issues whose priority is either Critical
or Blocker
:
project = CSTA and assignee = ravisagar and priority in (Blocker, Critical)
Instead of issues assigned...