Advanced Search Reference
Advanced Search Reference
JQL lets you search for a value in a specific field. Each field in Jira has a corresponding
JQL name. If you’ve made a custom field, you’ll be asked to name the field.
Affected version
Search for issues that are assigned to a particular affects version(s). You can search by
version name or version ID (i.e. the number that Jira automatically allocates to a
version).Note, it is better to search by version ID than by version name. Different
projects may have versions with the same name. It is also possible for your Jira
administrator to change the name of a version, which could break any saved filters that
rely on that name. Version IDs, however, are unique and cannot be changed.
Syntax
affectedVersion
latestReleasedVersion()
earliestUnreleasedVersion()
Supported
functions When used with the IN and NOT IN operators, this field supports:
releasedVersions()
unreleasedVersions()
Approvals
Used in Jira Service Management only.
Search for requests that have been approved or require approval. This can be further
refined by user.
Syntax
approvals
Assignee
Search for issues that are assigned to a particular user. You can search by the user's full
name, ID, or email address.
Syntax
assignee
membersOf()
Supported
When used with the EQUALS and NOT EQUALS operators, this
functions
field supports:
currentUser()
Note that full-stops and "@" symbols are reserved characters and need to be surrounded by
quote-marks.
Attachments
Search for issues that have or do not have attachments.
Syntax
attachments
Category
Search for issues that belong to projects in a particular category.
Syntax
category
Change gating type
Used in Jira Service Management only.
Search for types of change gating that are used in change requests. "Tracked-only"
requests are produced by integrations that stand separately from a change management
process. These tools don't respect approval or change gating strategies. Change requests
that are "tracked-only" are just for record-keeping purposes.
Syntax
change-gating-type
Comment
Search for issues that have a comment that contains particular text using Jira text-search
syntax. Learn more about searching syntax for text fields.
Syntax
comment
Component
Search for issues that belong to a particular component(s) of a project. You can search
by component name or component ID (i.e. the number that Jira automatically allocates
to a component).
Syntax
component
Created
Search for issues that were created on, before, or after a particular date (or date range).
Note that if a time-component is not specified, midnight will be assumed. Please note
that the search results will be relative to your configured time zone (which is by default
the Jira server's time zone).
"yyyy/MM/dd HH:mm"
"yyyy-MM-dd HH:mm"
"yyyy/MM/dd"
"yyyy-MM-dd"
Syntax
created
Alias
createdDate
currentLogin()
lastLogin()
now()
startOfDay()
startOfWeek()
startOfMonth()
startOfYear()
endOfDay()
endOfWeek()
endOfMonth()
endOfYear()
Creator
Search for issues that were created by a particular user. You can search by the user's full
name, ID, or email address. Note that an issue's creator does not change, so you cannot
search for past creators (e.g. WAS). See Reporter for more options.
Syntax
creator
currentUser()
Custom field
Only applicable if your Jira administrator has created one or more custom fields.
Search for issues where a particular custom field has a particular value. You can search
by custom field name or custom field ID (i.e. the number that Jira automatically
allocates to an custom field).
Syntax
CustomFieldName
Alias
cf[CustomFieldID]
picker, select, = , !=
checkbox IS , IS NOT , IN , NOT IN
and radio button
fields
Unsupported
operators:
picker, select, ~ , !~ , > , >= , < , <= WAS, WAS IN, WAS NOT, WAS NOT
checkbox IN, CHANGED
and radio button
fields
Supported operators:
~ , !~
IS , IS NOT
text fields
Unsupported
= , != , > , >= , < , <= IN , NOT IN , WAS, WAS IN, WAS
operators:
NOT, WAS NOT IN, CHANGED
text fields
Supported operators:
= , !=
IS , IS NOT , IN , NOT IN
URL fields
Unsupported
~ , !~ , > , >= , < , <= WAS, WAS IN, WAS NOT, WAS NOT
operators:
IN, CHANGED
URL fields
Supported functions Different types of custom fields support different functions.
When used with the EQUALS, NOT EQUALS, GREATER
THAN, GREATER THAN EQUALS,
LESS THAN or LESS THAN EQUALS operators, this field
supports:
currentLogin()
lastLogin()
now()
Supported functions:
startOfDay()
date/time fields
startOfWeek()
startOfMonth()
startOfYear()
endOfDay()
endOfWeek()
endOfMonth()
endOfYear()
Search for requests of a certain request type. You can search by request type name or
request type description as configured in the Request Type configuration screen.
Syntax
"Customer Request Type"
IN , NOT IN
~ , !~ , > , >= , < , <= IS , IS NOT, WAS, WAS IN, WAS NOT, WAS
NOT IN , CHANGED
Unsupported Note that the Lucene value for Customer Request Type,
operators is portal-key/request-type-key. While the portal key cannot be changed
after a service project portal is created, the project key can be changed.
The Request Type key cannot be changed once the Request Type is
created.
Supported
None
functions
Examples Find issues where Customer Request Type is Request a new
account in projects that the user has access to:
"Customer Request Type" = "Request a new account"
Find issues where the Customer Request Type is Request a
new account in SimpleDesk project, where the right operand
is a selected Lucene value from the auto-complete suggestion
list.
"Customer Request Type" = "sd/system-access"
Find issues where Customer Request Type is either Request a
new account or Get IT Help.
"Customer Request Type" IN ("Request a new account", "Get
IT Help")
Description
Search for issues where the description contains particular text using Jira text-search
syntax. Learn more about searching syntax for text fields.
Syntax
description
Due
Search for issues that were due on, before, or after a particular date (or date range). Note
that the due date relates to the date only (not to the time).
"yyyy/MM/dd"
"yyyy-MM-dd"
Syntax
due
Alias
dueDate
currentLogin()
lastLogin()
now()
Supported
startOfDay()
functions
startOfWeek()
startOfMonth()
startOfYear()
endOfDay()
endOfWeek()
endOfMonth()
endOfYear()
Environment
Search for issues where the environment contains particular text using Jira text-search
syntax. Learn more about searching syntax for text fields.
Syntax
environment
Field Type TEXT
Auto-complete No
Supported ~ , !~
operators IS , IS NOT
Unsupported = , != , > , >= , < , <= IN , NOT IN, WAS, WAS IN, WAS NOT,
operators WAS NOT IN , CHANGED
Supported
None
functions
Find issues where the environment contains the words
"Third floor":
Examples
environment ~ "Third floor"
Epic link
Search for issues that belong to a particular epic in company-managed projects. The
search is based on either the epic's name, issue key, or issue ID (i.e. the number that Jira
automatically allocates to an issue).
To search for issues that belong to a particular epic in team-managed projects, use
parent.
Syntax
"epic link"
issueHistory()
Supported
linkedIssues()
functions
votedIssues()
watchedIssues()
Filter
You can use a saved filter to narrow your search. You can search by filter name or filter
ID (i.e. the number that Jira automatically allocates to a saved filter).
Note:
It is safer to search by filter ID than by filter name. It is possible for a filter name
to be changed, which could break a saved filter that invokes another filter by
name. Filter IDs, however, are unique and cannot be changed.
An unnamed link statement in your typed query will override an ORDER BY
statement in the saved filter.
You cannot run or save a filter that would cause an infinite loop (i.e. you cannot
reference a saved filter if it eventually references your current filter).
Syntax
filter
Aliases
request ,
savedFilter ,
searchRequest
Field Type Filter
Auto-complete Yes
= , !=
Supported operators
IN , NOT IN
~ , !~ , > , >= , < , <= IS , IS NOT, WAS, WAS IN, WAS
Unsupported operators
NOT, WAS NOT IN , CHANGED
Supported functions None
Search the results of the filter "My Saved Filter"
(which has an ID of 12000) for issues assigned to
the user jsmith:
Examples filter = "My Saved Filter" and assignee = jsmith
or
filter = 12000 and assignee = jsmith
Fix version
Search for issues that are assigned to a particular fix version. You can search by version
name or version ID (i.e. the number that Jira automatically allocates to a version).
It’s safer to search by version ID than by version name. Different projects may have
versions with the same name, so searching by version name may return issues from
multiple projects. It is also possible for your Jira administrator to change the name of a
version, which could break any saved filters that rely on that name. Version IDs,
however, are unique and cannot be changed.
Syntax
fixVersion
latestReleasedVersion()
earliestUnreleasedVersion()
Supported
functions When used with the IN and NOT IN operators, this field supports:
releasedVersions()
unreleasedVersions()
Hierarchy level
This feature is rolling out to customers. You might not see it on your site just yet.
Filter issues according to their hierarchy level using a JQL filter. This field uses
numbers that correlate to hierarchy levels. Use:
1 to filter by parent level task, such as epics. This level is defined by your Jira
administrator.
0 to filter by standard level issues, such as stories or tasks
-1 to filter by subtasks
Currently, this field doesn’t support custom hierarchy levels made in Advanced
Roadmaps.
Syntax
hierarchyLevel
Issue key
Search for issues with a particular issue key or issue ID (i.e. the number that Jira
automatically allocates to an issue).
Syntax
issueKey
Aliases
id , issue , key
issueHistory()
Supported functions
linkedIssues()
votedIssues()
watchedIssues()
Use this JQL query to add colors to your issue cards! For example, add a red stripe to
issues that have some blockers, and keep all other issues green. This will help you bring
the right information to your team’s attention, at a glance. For more info, see
Customizing cards.
Syntax
issueLinkType
Auto-complete Yes
Supported = , !=
operators IN , NOT IN
~ , !~ , > , >= , < , <=
Unsupported
operators WAS , WAS IN , WAS NOT , WAS NOT IN , CHANGED , IS ,
IS NOT
Supported functions None
Find issues:
Name: Problem/Incident
Outward description: causes
Inward description: is caused by
When searching issueLinkType, Jira searches all three properties. This can mean you're
unable to isolate issues with a specific inward or outward description if the link type's
name and either of the descriptions are the same. This is the case for the default
"Blocks" link type, where the name and outward description are "blocks".
If you need to be able to search specifically for issues with an outward description of
"blocks", for example, a Jira administrator must change the name of the link type to
something else. If you're a Jira admin, take a look at Configuring issue linking for more
info.
Labels
Search for issues tagged with a label or list of labels. You can also search for issues
without any labels to easily identify which issues need to be tagged so they show up in
the relevant sprints, queues or reports.
Syntax
labels
Last viewed
Search for issues that were last viewed on, before, or after a particular date (or date
range). Note that if a time-component is not specified, midnight will be assumed. Please
note that the search results will be relative to your configured time zone (which is by
default the Jira server's time zone).
"yyyy/MM/dd HH:mm"
"yyyy-MM-dd HH:mm"
"yyyy/MM/dd"
"yyyy-MM-dd"
Syntax
lastViewed
currentLogin()
lastLogin()
now()
Supported startOfDay()
functions startOfWeek()
startOfMonth()
startOfYear()
endOfDay()
endOfWeek()
endOfMonth()
endOfYear()
Level
Only available if issue level security has been enabled by your Jira administrator.
Search for issues with a particular security level. You can search by issue level
security name or issue level security ID (i.e. the number that Jira automatically allocates
to an issue level security).
Note, it is safer to search by security level ID than by security level name. It is possible
for your Jira administrator to change the name of a security level, which could break
any saved filter that rely on that name. Security level IDs, however, are unique and
cannot be changed.
Syntax
level
Organization
Used in Jira Service Management only.
Search for all requests shared with an organization. Requests that were kept private
won't be returned.
Syntax
organizations
Original estimate
Only available if time-tracking has been enabled by your Jira administrator.
Search for issues where the original estimate is set to a particular value (i.e. a number,
not a date or date range). Use "w", "d", "h" and "m" to specify weeks, days, hours, or
minutes.
Syntax
originalEstimate
Alias
timeOriginalEstimate
Parent
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).
Syntax
parent
Priority
Search for issues with a particular priority. You can search by priority name or
priority ID (i.e. the number that Jira automatically allocates to a priority).
Note, it is safer to search by priority ID than by priority name. It is possible for your Jira
administrator to change the name of a priority, which could break any saved filter that
rely on that name. Priority IDs, however, are unique and cannot be changed.
Syntax
priority
Project
Search for issues that belong to a particular project. You can search by project name, by
project key or by project ID (i.e. the number that Jira automatically allocates to a
project). In the rare case where there is a project whose project key is the same as
another project's name, then the project key takes preference and hides results from the
second project.
Syntax
project
Supported projectsLeadByUser()
functions projectsWhereUserHasPermission()
projectsWhereUserHasRole()
Examples Find issues that belong to the Project that has the name
"ABC Project":
project = "ABC Project"
Find issues that belong to the project that has the key
"ABC":
project = "ABC"
Find issues that belong to the project that has the ID
"1234":
project = 1234
Project type
Search for issues that belong to a particular type of project, either:
Results depend on your permission level. You will only see results for products you
have access to. Learn more about product access.
Syntax projectType
Auto-complete Yes
=, !=
Supported operators
IN, NOT IN
>, >=, <, <=, ~, !~
Unsupported operators
IS, IS NOT, WAS, WAS NOT, WAS NOT IN, CHANGED
Supported functions None
Find all issues in a software project:
projectType = ”software”
projectType != ”software”
Remaining estimate
Only available if time-tracking has been enabled by your Jira administrator.
Search for issues where the remaining estimate is set to a particular value (i.e. a number,
not a date or date range). Use "w", "d", "h" and "m" to specify weeks, days, hours, or
minutes.
Syntax
remainingEstimate
Alias
timeEstimate
Reporter
Search for issues that were reported by a particular user. This may be the same as the
creator, but can be distinct. You can search by the user's full name, ID, or email address.
Syntax
reporter
membersOf()
Supported
When used with the EQUALS and NOT EQUALS operators, this
functions
field supports:
currentUser()
Search for requests by the channel that they were created by. For example, you could
search for all requests that were emailed to the service project, or all requests that were
sent from a customer portal.
Syntax
request-channel-
type
Field Type TEXT
Auto-complete Yes
= , !=
Supported
operators
IS, IS NOT, IN, NOT IN
Unsupported ~ , !~ , > , >= , < , <= WAS, WAS IN, WAS NOT, WAS NOT IN,
operators CHANGED
When used with the IN and NOT IN operators, this field supports:
Search for requests that were created on, before, or after a particular date (or date
range). Note that if a time-component is not specified, midnight will be assumed. Search
results are relative to your configured time zone (which is by default the Jira server's
time zone).
Syntax
request-last-
activity-time
Field Type DATE
Auto-complete Yes
= , != , > , >= , < , <=
Supported
operators
IS, IS NOT, IN, NOT IN
Unsupported
~ , !~WAS, WAS IN, WAS NOT, WAS NOT IN, CHANGED
operators
When used with the EQUALS, NOT EQUALS, GREATER
THAN, GREATER THAN EQUALS,
LESS THAN or LESS THAN EQUALS operators, this field
supports:
currentLogin()
lastLogin()
now()
Supported
startOfDay()
functions
startOfWeek()
startOfMonth()
startOfYear()
endOfDay()
endOfWeek()
endOfMonth()
endOfYear()
Examples Find all issues last acted on before 23rd May 2016:
request-last-activity-time < "2016/05/23"
o Find all issues last acted on or before 23rd May
2016:
request-last-activity-time <= "2016/05/23"
o Find all issues created on 23rd May 2016 and last
acted on before 2:00pm that day:
created > "2016/05/23" AND request-last-activity-
time < "2016/05/23 14:00"
o Find issues last acted on less than one day ago:
request-last-activity-time > "-1d"
o Find issues last acted on in January 2016:
request-last-activity-time > "2016/01/01" and
request-last-activity-time < "2016/02/01"
Resolution
The resolution field doesn't exist in Jira Service Management team-managed projects.
This means you can't search for issues in Jira Service Management team-managed
projects with the resolution field. Instead, you can use the statusCategory field (an issue
is resolved when statusCategory = Done).
Search for issues that have a particular resolution. You can search by resolution name or
resolution ID (i.e. the number that Jira automatically allocates to a resolution).
Syntax
resolution
Resolved
Search for issues that were resolved on, before, or after a particular date (or date range).
Note that if a time-component is not specified, midnight will be assumed. Please note
that the search results will be relative to your configured time zone (which is by default
the Jira server's time zone).
Syntax
resolved
Alias
resolutionDate
currentLogin()
lastLogin()
now()
Supported startOfDay()
functions startOfWeek()
startOfMonth()
startOfYear()
endOfDay()
endOfWeek()
endOfMonth()
endOfYear()
Examples Find all issues that were resolved before 31st December
2010:
resolved < "2010/12/31"
Find all issues that were resolved before 2.00pm on 31st
December 2010:
resolved < "2010/12/31 14:00"
Find all issues that were resolved on or before 31st
December 2010:
resolved <= "2011/01/01"
Find issues that were resolved in January 2011:
resolved > "2011/01/01" and resolved < "2011/02/01"
Find issues that were resolved on 15 January 2011:
resolved > "2011/01/15" and resolved < "2011/01/16"
Find issues that were resolved in the last hour:
resolved > -1h
SLA
Used in Jira Service Management only.
Search and sort through your requests to ensure that you're hitting your SLA goals. You
can search for requests whose SLAs are in a certain state of completion, or that have a
certain amount of time on their SLA clock.
Syntax
Time to
resolution
Time to first
response
Sprint
Search for issues that are assigned to a particular sprint. This works for active sprints
and future sprints. The search is based on either the sprint name or the sprint ID (i.e. the
number that Jira automatically allocates to a sprint).
If you have multiple sprints with similar (or identical) names, you can simply search by
using the sprint name — or even just part of it. The possible matches will be shown in
the autocomplete drop-down, with the sprint dates shown to help you distinguish
between them. (The sprint ID will also be shown, in brackets).
Syntax
sprint
Status
Search for issues that have a particular status. You can search by status name or
status ID (i.e. the number that Jira automatically allocates to a status).
It’s safer to search by status ID than status name since it’s possible for your Jira
administrator to change the name of a status, which would break any saved filter that
relies on that name. Status IDs, however, are unique and cannot be changed.
The WAS, WAS NOT, WAS IN and WAS NOT IN operators can only be used with the
name, not the ID.
Syntax
status
Summary
Search for issues where the summary contains specific text using Jira text-search
syntax. Learn more about searching syntax for text fields.
Syntax
summary
Summary
Description
Environment
Comments
custom fields that use the "free text searcher"; this includes custom fields of the
following built-in custom field types:
o Free text field (unlimited text)
o Text field (< 255 characters)
o Read-only text field
Search for issues that have certain text present using Jira text-search syntax. Learn more
about searching syntax for text fields.
Syntax
text
Time spent
Only available if time-tracking has been enabled by your Jira administrator.
Search for issues where the time spent is set to a particular value (i.e. a number, not a
date or date range). Use "w", "d", "h" and "m" to specify weeks, days, hours, or
minutes.
Syntax
timeSpent
Type
Search for issues that have a particular issue type. You can search by issue type name or
issue type ID (i.e. the number that Jira automatically allocates to an issue type).
Syntax
type
Alias
issueType
Updated
Search for issues that were last updated on, before, or after a particular date (or date
range). Note that if a time-component is not specified, midnight will be assumed. Please
note that the search results will be relative to your configured time zone (which is by
default the Jira server's time zone).
"yyyy/MM/dd HH:mm"
"yyyy-MM-dd HH:mm"
"yyyy/MM/dd"
"yyyy-MM-dd"
Syntax
updated
Alias
updatedDate
currentLogin()
lastLogin()
now()
Supported
startOfDay()
functions
startOfWeek()
startOfMonth()
startOfYear()
endOfDay()
endOfWeek()
endOfMonth()
endOfYear()
Examples Find issues that were last updated before 12th December
2010:
updated < "2010/12/12"
Find issues that were last updated on or before 12th
December 2010:
updated < "2010/12/13"
Find all issues that were last updated before 2.00pm on 31st
December 2010:
updated < "2010/12/31 14:00"
Find issues that were last updated more than two weeks
ago:
updated < "-2w"
Find issues that were last updated on 15 January 2011:
updated > "2011/01/15" and updated < "2011/01/16"
Find issues that were last updated in January 2011:
updated > "20011/01/01" and updated < "2011/02/01"
Voter
Search for issues for which a particular user has voted. You can search by the user's full
name, ID, or email address. Note that you can only find issues for which you have the
"View Voters and Watchers" permission, unless you are searching for your own votes.
Syntax
voter
membersOf()
Supported
functions When used with the EQUALS and NOT EQUALS operators,
this field supports:
currentUser()
Syntax
votes
Watcher
Search for issues that a particular user is watching. You can search by the user's full
name, ID, or email address. Note that you can only find issues for which you have the
"View Voters and Watchers" permission, unless you are searching for issues where you
are the watcher. See also watchedIssues.
Syntax
watcher
membersOf()
Supported
When used with the EQUALS and NOT EQUALS operators, this
functions
field supports:
currentUser()
Watchers
Search for issues with a specified number of watchers.
Syntax
watchers
Worklog comment
This field is only available if time tracking has been enabled by your Jira administrator,
and can only support the CONTAINS operator ("~").
Search for issues that have certain text present in worklog comments using Jira text-
search syntax. Learn more about searching syntax for text fields.
Syntax
worklogComment
Worklog date
Only available if time-tracking has been enabled by your Jira administrator.
Syntax
worklogDate
currentLogin()
lastLogin()
now()
Supported
startOfDay()
functions
startOfWeek()
startOfMonth()
startOfYear()
endOfDay()
endOfWeek()
endOfMonth()
endOfYear()
Work ratio
Only available if time-tracking has been enabled by your Jira administrator.
Search for issues where the work ratio has a particular value. Work ratio is calculated as
follows: workRatio = timeSpent / originalEstimate) x 100
Syntax
workRatio