From the course: Learning Jira (Cloud Edition): Creating Items, Using Boards, Finding Items with JQL Search, and Tracking Work
Unlock this course with a free trial
Join today to access over 25,600 courses taught by industry experts.
Sample queries - Jira Tutorial
From the course: Learning Jira (Cloud Edition): Creating Items, Using Boards, Finding Items with JQL Search, and Tracking Work
Sample queries
All queries start with a field, followed by an operator, like the equals sign, followed by one or more values. For example, type equals bug. In the query, type is the field, equals is the operator, and bug is the value. You can combine multiple search clauses by adding AND or OR between them. For example, type equals bug, and status equals closed. In the query shown, there are two clauses. Add as many clauses as you need to get the data that you're after. Try these queries out in your own application. Next, try changing AND to OR to see how that affects the results. In the second query, the OR clause means all bugs will be returned, plus all items in the closed status will also be returned. The scope of the second query is much larger. Here's another query with multiple clauses. There are many ways to search for bugs that are not yet fixed. In this example, JIRA returns all bugs in the open status and all bugs in the in-progress status. Now notice that the value in-progress is in…