Advanced search allows you to build structured queries using Jira Query Language (JQL) to search for issues within and across projects. Query results can be saved and used as filters and views jql does not contain across Jira (including boards). Search for new issues created since the start of the first day of the current week. By default, this function considers Sunday to be the first day of the week.

what are JQL queries

Learn more about using operators for advanced searching. Get the most out of advanced searching by learning how to structure your JQL query. A simple query in JQL (also known as a ‘clause’) consists of a field, followed by an operator, followed by one or more values or functions. Simple queries (basic search) are a combination of fields and operators. A simple query in JQL is known as a “clause” and it consists of a field, followed by an operator, followed by one or more values or functions.

JQL operators

Find issues in projects that are led by a specific user. You can optionally specify a user, or if the user is omitted, the current user will be used. The keyword “none” can be used to search for issues where either or both of the options have no value.

what are JQL queries

Search for all subtasks of a particular issue in company-managed projects or subtasks of a particular epic in team-managed projects. You can search by issue key or by issue ID (i.e. the number that Jira automatically allocates to an Issue). If you’re a Jira admin, take a look at Configuring issue linking for more info. Search for issues that have a particular link type, like blocks or is duplicated by.

JQL Scoping vs Sorting: narrowing down your data.

You can filter on any field available in Jira (depending on the selected project(s)). You can also search issues from the “Issues” section in the dropdown menu. Returns issues that have an SLA that is running according to the SLA calendar. To find issues that are running based on calendar hours, use withincalendarhours(). Returns issues that have an SLA that is running, regardless of the calendar. Returns issues whose SLA clock is at a certain point relative to the goal.

what are JQL queries

It uses the “project” field, the EQUALS operator, and the value “TEST”. You may know the basics of JQL, but to perform complex searches in Jira Software, you’ll need to take your skills to the next level. You can set up your filters to appear on your dashboard. That way, you’ll have access to your search results with a single glance. In the above query, Jira would return a list of issues sorted by assignee first, then sort by due date for all issues with the same assignee.

Issue link

If you’ve not seen lesson 1, I’d suggest reviewing that post as we will build on a number of concepts talked about in that post. You should be comfortable with simple JQL queries as well as using the AND and OR keywords at this point. In this query the “is empty” statement only includes issues where https://deveducation.com/ the value of the assignee field is blank. The value -1d evaluates to 1 day behind the current date when the query is run. As a result, the above query will return all issues that do not have an assignee that are at least one day old. Note that this function can only be used by logged-in users.

  • You can set up your filters to appear on your dashboard.
  • Before building a query, understanding a few of its different components is essential.
  • Search for requests that currently or previously required approval by the current user.