Mastering JQL: Essential Jira Examples

Rachel Jul 09, 2026

JQL, or Jira Query Language, is a powerful search query language that allows users to create complex queries to find specific issues in Jira. It's an essential tool for project managers, developers, and teams to quickly filter and locate relevant issues, saving time and improving efficiency. Let's explore some practical JQL examples to help you make the most of this feature.

How to Jira for designers
How to Jira for designers

Before diving into specific examples, it's crucial to understand the basic syntax of JQL. Queries start with the keyword 'SELECT' followed by the fields you want to display, then 'FROM' followed by the issue types you're interested in. The 'WHERE' clause is used to filter issues based on various criteria. Here's a simple example:

Software Development Templates | Jira Template Library | Atlassian
Software Development Templates | Jira Template Library | Atlassian

Basic JQL Operators

Understanding basic operators is key to creating effective JQL queries. Here are some essential operators:

Jira Service Management 기능 Jira Service Management
Jira Service Management 기능 Jira Service Management

Logical Operators

Logical operators like AND, OR, and NOT help combine conditions to create more complex queries. For instance, 'status = "In Progress" AND assignee = currentUser()' will find all issues assigned to the current user that are in progress.

JQL (JIRA Query Language) Cheat Sheet
JQL (JIRA Query Language) Cheat Sheet

You can also use parentheses to group conditions: '(status = "In Progress" OR status = "To Do") AND priority = "High"' will find high-priority issues that are either in progress or to do.

Comparison Operators

Comparison operators like =, !=, >, <, >=, <= allow you to compare issue fields. For example, 'duedate <= today' will find all issues due today or earlier.

Jira | Issue & Project Tracking Software
Jira | Issue & Project Tracking Software

You can also use the 'IN' operator to check if a field is in a list of values: 'status IN ("In Progress", "To Do")' will find all issues that are either in progress or to do.

Advanced JQL Examples

Now that we've covered the basics, let's look at some more advanced JQL examples:

15 Best Jira Dashboard Examples
15 Best Jira Dashboard Examples

Subqueries

JQL supports subqueries, allowing you to create complex queries that rely on the results of other queries. For example, 'SELECT * FROM Issue WHERE project = "PROJ" AND fixVersion IN (SELECT version FROM Changelog WHERE field = "fixVersion" AND newValue IS NOT NULL)' will find all issues in project 'PROJ' that have had a fix version set.

Atlassian - GitHub Marketplace
Atlassian - GitHub Marketplace
the screenshot shows how to use twitter for your company's business and other social media
the screenshot shows how to use twitter for your company's business and other social media
Jira
Jira
JIRA for designers: Managing product delivery
JIRA for designers: Managing product delivery
Mastering Jira for Mobile App Development: Proven Strategies for Issue Tracking and Management
Mastering Jira for Mobile App Development: Proven Strategies for Issue Tracking and Management
How to Create Issue Templates for Jira?
How to Create Issue Templates for Jira?
Jira Software reports & dashboards | Atlassian
Jira Software reports & dashboards | Atlassian
Unlock Jira’s Power: 8 Key Features Every Developer Should Master⚡| FAB Button
Unlock Jira’s Power: 8 Key Features Every Developer Should Master⚡| FAB Button
Does GitScrum Have An Edge Over Jira In The Project Management Genre? - Hindi Panda
Does GitScrum Have An Edge Over Jira In The Project Management Genre? - Hindi Panda
Jira Software roadmaps | Atlassian
Jira Software roadmaps | Atlassian
an info sheet with the words jira, automated workflow and sprint end on it
an info sheet with the words jira, automated workflow and sprint end on it
the jira board is designed to help you learn how to use it for projects
the jira board is designed to help you learn how to use it for projects
Agile project management
Agile project management
Master JIRA COURSE
Master JIRA COURSE
Not only epics and stories: understanding Jira issue types
Not only epics and stories: understanding Jira issue types
10 Best Jira Alternatives You Should Consider in 2025 - Teamcamp Blog
10 Best Jira Alternatives You Should Consider in 2025 - Teamcamp Blog
Atlassian Jira
Atlassian Jira
Jira Training | Jira Tutorial for Beginners | Jira Course | Intellipaat
Jira Training | Jira Tutorial for Beginners | Jira Course | Intellipaat
JIRA Tutorial for Beginners
JIRA Tutorial for Beginners
# Master JIRA Like a Pro! | Vikaas Daruri posted on the topic | LinkedIn
# Master JIRA Like a Pro! | Vikaas Daruri posted on the topic | LinkedIn

Subqueries can also be used with the 'EXISTS' operator: 'SELECT * FROM Issue WHERE status = "In Progress" AND EXISTS (SELECT * FROM Subtask WHERE parent = issue AND status = "Done")' will find all parent tasks that have at least one completed subtask.

JQL Functions

JQL includes several built-in functions that can be used to manipulate data. For instance, the 'currentDate()' function returns the current date, while 'startOfDay()' and 'endOfDay()' can be used to create date ranges:

'SELECT * FROM Issue WHERE duedate BETWEEN startOfDay(currentDate()) AND endOfDay(currentDate())' will find all issues due today.

The 'currentUser()' function returns the username of the current user, which can be useful for creating personal queries: 'SELECT * FROM Issue WHERE assignee = currentUser()' will find all issues assigned to the current user.

JQL is a powerful tool that can greatly enhance your productivity in Jira. By understanding and practicing these examples, you'll be well on your way to creating complex queries that meet your specific needs. Happy querying!