页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

代码块
project = "TEST"

(这个例子使用了 项目(project) 字段, 等于 符号, 和 "TEST"。)

注意不能比较两个 字段

...

内容区目录
maxLevel4
minLevel4
locationtop
typelist

AND
AND

AND

用于整合多个查询条件, 允许你精炼查询条件。

注意,你可以使用 括号 来控制查询条件的执行顺序。

示例
  • 查询"New office"项目中所有开放的问题:
    代码块
    project = "New office" and status = "open"
  • 查询所有分配给jsmith的紧急的开放问题:
    代码块
    status = open and priority = urgent and assignee = jsmith
  • 查询JRA项目中没有分配给jsmith的问题:
    代码块
    project = JRA and assignee != jsmith
  • 查找JRA和CONF项目中修复版本是3.14的问题:
    代码块
    project in (JRA,CONF) and fixVersion = "3.14"
  • 查找不是Jack,Jill,John报告的并且他们也不是经办人的问题:
    代码块
    reporter not in (Jack,Jill,John) and assignee not in (Jack,Jill,John)

OR
OR

OR

用户整合多个查询条件, 允许你扩展查询条件。

注意,你可以使用 括号 来控制查询条件的执行顺序。

(注意: 也可以查看 #IN 在...之中(IN)章节, 使用更方便的方法搜索多个字段的值。)

示例
  • 搜索报告人是jsmith或jbrown的问题:
    代码块
    reporter = jsmith or reporter = jbrown
  • 搜索已近逾期或没有设置到期日的问题:
    代码块
    duedate < now() or duedate is empty

NOT
NOT

NOT

用于否定一个运算符或整个查询条件, 允许你优化查询条件。

注意,你可以使用 括号 来控制查询条件的执行顺序。

(注意: 也可以查看 #NOT_EQUALS 不等于 ("!="), #DOES_NOT_CONTAIN 不包括 ("!~"), #NOT_IN#IS_NOT 不再...之中不是章节)

示例
  • 搜索经办人不是jsmith的所有问题:
    代码块
    not assignee = jsmith
  • 搜索所有报告人不是jsmith或不是jbrown的问题:
    代码块
    not (reporter = jsmith or reporter = jbrown)

EMPTY
EMPTY

EMPTY

用于搜索没有值的字段。 也可以查看#NULL空(NULL)

注意 EMPTY 只能与 #IS#IS_NOT 是(IS)不是(IS NOT) 运算符结合使用。 要查看字段支持的运算符, 点击 #字段

示例
  • 搜索所有没有到期日(DueDate)的问题 :
    代码块
    duedate = empty
    or
    代码块
    duedate is empty

NULL
NULL

NULL

Used to search for issues where a given field does not have a value. See also #EMPTY.

Note that NULL can only be used with fields that support the #IS and #IS_NOT operators. To see a field's supported operators, check the individual #field reference.

Examples

空 NULL

用于搜索字段没有赋值的问题。 请查看 空(EMPTY)

注意 NULL 只能用于支持 是(IS)不是(IS NOT) 操作符的字段。 要了解字段支持哪些操作符, 请查看每个 字段 参考。

示例
  • 查找所有没有设置 到期日(DueDate)的问题
  • Find all issues without a #DueDate:
    代码块
    duedate = null
    or
    代码块
    duedate is null

ORDER_BY
ORDER_BY

排序 ORDER BY

Used to specify the fields by whose values the search results will be sorted.

用于对输出的结果,按照指定的字段排序。

默认情况下, 按照字段输出顺序排序。 你可以指定按照升序 By default, the field's own sorting order will be used. You can override this by specifying ascending order ("asc") or descending order 或降序 ("desc"). 排列。

Examples
示例

operator
operator

operators
operators

...

运算符参考

内容区目录
maxLevel4
minLevel4
locationtop
typelist

EQUALS
EQUALS

EQUALS

等于: =

The "=" operator is used to search for issues where the value of the specified field exactly matches the specified value. (Note: cannot be used with #text fields; see the #CONTAINS operator instead.)

To find issues where the value of a specified field exactly matches multiple values, use multiple "=" statements with the #AND operator.

Examples

运算符用于查找精确匹配字段值的问题。 (注意: 不能用于 文本 字段; 文本字段的匹配条件请使用 包含 运算符。)

要精确匹配多个字段值,请使用与(AND)将多个 "=" 表达式连接起来。

示例
  • 查找由jsmith创建的所有问题
  • Find all issues that were created by jsmith:
    代码块
    reporter = jsmith
    Find all issues
  • that were created by John Smith查找由John Smith创建的所有问题:
    代码块
    reporter = "John Smith"

NOT_EQUALS
NOT_EQUALS

NOT EQUALS

不等于: !=

The "!=" operator is used to search for issues where the value of the specified field does not match the specified value. (Note: cannot be used with #text fields; see the #DOES_NOT_MATCH 运算符用于查找不等于指定字段值之外的问题。 (注意: 不能用于 文本 字段; 文本字段的否定条件请使用 不包含 ("!~") operator instead.运算符。)

Note that typing 注意输入 field != value is the same as typing 与输入 NOT field = value, and that }}具有同等效果, 并且 {{field != EMPTY is the same as 与 {{field #IS_NOT EMPTY. }}也具有同等效果。

Examples
示例
  • 查找所有已经被分配经办人,但是经办人不是jsmith的问题
  • Find all issues that are assigned to any user except jsmith:
    代码块
    not assignee = jsmith
    or:
    代码块
    assignee != jsmith jsmith
  • 查找报告人不是jsmith的所有问题Find all issues that were not reported by jsmith:
    代码块
    reporter !=jsmith
  • Find all issues that were reported by me but are not assigned to me查找你报告的,但经办人没有被分配给你的问题:
    代码块
    reporter = currentUser() and assignee != currentUser()
  • Find all issues where the Reporter or Assignee is anyone except John Smith查找已经被分配经办人,但报告人或经办人不是John Smith的问题:
    代码块
    assignee != "John Smith" or reporter != "John Smith"
  • Find all issues that are not unassigned查找所有还没有分配经办人的问题:
    代码块
    assignee is not empty
    or
    代码块
    assignee != null

GREATER_THAN
GREATER_THAN

>
>

GREATER THAN

大于: >

The ">" operator is used to search for issues where the value of the specified field is greater than the specified value. Cannot be used with #text fields.

Note that the ">" operator can only be used with fields which support ordering (e.g. date fields and version fields). To see a field's supported operators, check the individual #field reference.

Examples

运算符用于差咋后比指定字段值大的问题。 不能用于 文本 字段。

注意 ">" 运算符只能用于支持排序的字段 (例如 日期字段和版本字段等)。 要了解字段支持哪些运算符, 请查看每个 字段 参考。

示例
  • Find all issues with more than 4 votes:
    代码块
    votes > 4
  • Find all overdue issues:
    代码块
    duedate < now() and resolution is empty
  • Find all issues where priority is higher than "Normal":
    代码块
    priority > normal

GREATER_THAN_EQUALS
GREATER_THAN_EQUALS

>

GREATER THAN EQUALS: >=

The ">=" operator is used to search for issues where the value of the specified field is greater than or equal to the specified value. Cannot be used with #text fields.

Note that the ">=" operator can only be used with fields which support ordering (e.g. date fields and version fields). To see a field's supported operators, check the individual #field reference.

Examples
示例
  • Find all issues with 4 or more votes:
    代码块
    votes >= 4
  • Find all issues due on or after 31/12/2008:
    代码块
    duedate >= "2008/12/31"
  • Find all issues created in the last five days:
    代码块
    created >= "-5d"

LESS_THAN
LESS_THAN

<
<

LESS THAN: <

The "<" operator is used to search for issues where the value of the specified field is less than the specified value. Cannot be used with #text fields.

Note that the "<" operator can only be used with fields which support ordering (e.g. date fields and version fields). To see a field's supported operators, check the individual #field reference.

Examples
示例
  • Find all issues with less than 4 votes:
    代码块
    votes < 4

LESS_THAN_EQUALS
LESS_THAN_EQUALS

<

LESS THAN EQUALS: <=

The "<=" operator is used to search for issues where the value of the specified field is less than or equal to than the specified value. Cannot be used with #text fields.

Note that the "<=" operator can only be used with fields which support ordering (e.g. date fields and version fields). To see a field's supported operators, check the individual #field reference.

Examples
示例
  • Find all issues with 4 or fewer votes:
    代码块
    votes <= 4
  • Find all issues that have not been updated in the past month (30 days):
    代码块
    updated <= "-4w 2d"

IN
IN

IN

The "IN" operator is used to search for issues where the value of the specified field is one of multiple specified values. The values are specified as a comma-delimited list, surrounded by parentheses.

Using "IN" is equivalent to using multiple #EQUALS (=) statements, but is shorter and more convenient. That is, typing reporter IN (tom, jane, harry) is the same as typing reporter = "tom" #OR reporter = "jane" #OR reporter = "harry".

Examples
示例
  • Find all issues that were created by either jsmith or jbrown or jjones:
    代码块
    reporter in (jsmith,jbrown,jjones)
  • Find all issues where the Reporter or Assignee is either Jack or Jill:
    代码块
    reporter in (Jack,Jill) or assignee in (Jack,Jill)
  • Find all issues in version 3.14 or version 4.2:
    代码块
    affectedVersion in ("3.14", "4.2")

NOT_IN
NOT_IN

NOT IN

The "NOT IN" operator is used to search for issues where the value of the specified field is not one of multiple specified values.

Using "NOT IN" is equivalent to using multiple #NOT_EQUALS (!=) statements, but is shorter and more convenient. That is, typing reporter NOT IN (tom, jane, harry) is the same as typing reporter != "tom" #AND reporter != "jane" #AND reporter != "harry".

Examples
示例
  • Find all issues where the Reporter is not Jack, Jill or John:
    代码块
    reporter not in (Jack,Jill,John)
  • Find all issues where the FixVersion is not 'A', 'B', 'C' or 'D':
    代码块
    FixVersion not in ( A, B, C, D)
  • Find all issues where the FixVersion is not 'A', 'B', 'C' or 'D', or has not been specified:
    代码块
    FixVersion not in ( A, B, C, D) or FixVersion is empty

CONTAINS
CONTAINS

~
~

CONTAINS: ~

The "~" operator is used to search for issues where the value of the specified field matches the specified value (either an exact match or a "fuzzy" match — see examples below). For use with text fields only, i.e.:

包含页面
quickstart:__JQL Text Fields
quickstart:__JQL Text Fields
nopaneltrue

Note: when using the "~" operator, the value on the right-hand side of the operator can be specified using JIRA text-search syntax.

Examples
示例
  • Find all issues where the Summary contains the exact phrase "full screen":
    代码块
    summary ~ "\"full screen\""
  • Find all issues where the Summary contains the word "win" (or derivatives of that word, such as "windows" or "winning"):
    代码块
    summary ~ win

DOES_NOT_CONTAIN
DOES_NOT_CONTAIN

DOES NOT CONTAIN: !~

The "!~" operator is used to search for issues where the value of the specified field is not a "fuzzy" match for the specified value. For use with text fields only, i.e.:

包含页面
quickstart:__JQL Text Fields
quickstart:__JQL Text Fields
nopaneltrue

Note: when using the "!~" operator, the value on the right-hand side of the operator can be specified using JIRA text-search syntax.

Examples
示例
  • Find all issues where the Summary does not contain the word "run" (or derivatives of that word, such as "running" or "ran"):
    代码块
    summary !~ run

IS
IS

IS

The "IS" operator can only be used with #EMPTY or #NULL. That is, it is used to search for issues where the specified field has no value.

Note that not all #fields are compatible with this operator; see the individual #field reference for details.

Examples
示例
  • Find all issues that have no Fix Version:
    代码块
    fixVersion is empty
    or
    代码块
    fixVersion is null

IS_NOT
IS_NOT

IS NOT

The "IS NOT" operator can only be used with #EMPTY or #NULL. That is, it is used to search for issues where the specified field has a value.

Note that not all #fields are compatible with this operator; see the individual #field reference for details.

Examples
示例
  • Find all issues that have one or more votes:
    代码块
    votes is not empty
    or
    代码块
    votes is not null

...

内容区目录
maxLevel4
minLevel4
locationtop
typelist

affectedVersion
affectedVersion

AffectedVersion
AffectedVersion

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).

信息
titleIt is 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 which rely on that name. Version IDs, however, are unique and cannot be changed.

Note: this field supports #auto-complete.

Syntax
代码块
affectedVersion
Field Type

VERSION

Supported Operators
包含页面
quickstart:__JQL Operators supported by Numeric Fields
quickstart:__JQL Operators supported by Numeric Fields
nopaneltrue

Note that the comparison operators (e.g. ">") use the version order that has been set up by your project administrator, not a numeric or alphabetic order.

Supported Functions

When used with the #IN and #NOT_IN operators, affectedVersion supports:

Examples
示例
  • Find issues with an AffectedVersion of 3.14:
    代码块
    affectedVersion = "3.14"
    (Note that full-stops are reserved #characters, so they need to be surrounded by quote marks.)
  • Find issues with an AffectedVersion of "Big Ted":
    代码块
    affectedVersion = "Big Ted"
  • Find issues with an AffectedVersion ID of 10350:
    代码块
    affectedVersion = 10350

Assignee
Assignee

Assignee

Search for issues that are assigned to a particular user. You can search by the user's Full Name, ID or Email Address.

Note: this field supports #auto-complete.

Syntax
代码块
assignee
Field Type

USER

Supported Operators
包含页面
quickstart:__JQL Operators supported by Select Fields
quickstart:__JQL Operators supported by Select Fields
nopaneltrue
Supported Functions

When used with the #IN and #NOT_IN operators, assignee supports:

When used with the #EQUALS and #NOT_EQUALS operators, assignee supports:

Examples
示例
  • Search for issues that are assigned to John Smith:
    代码块
    assignee = "John Smith"
    or
    代码块
    assignee = jsmith
  • Search for issues that are assigned by the user with email address "bob@mycompany.com":
    代码块
    assignee = "bob@mycompany.com"
    (Note that full-stops and "@" symbols are reserved #characters, so the email address needs to be surrounded by quote-marks.)

Category
Category

Category

Search for issues that belong to projects in a particular Category.

Note: this field supports #auto-complete.

Syntax
代码块
category
Field Type

CATEGORY

Supported Operators
包含页面
quickstart:__JQL Operators supported by Select Fields
quickstart:__JQL Operators supported by Select Fields
nopaneltrue
Supported Functions

n/a

Examples
示例
  • Find issues that belong to projects in the "Alphabet Projects" Category:
    代码块
     category = "Alphabet Projects"

Comment
Comment

Comments
Comments

Comment

Search for issues that have a Comment which contains particular text.

JIRA text-search syntax can be used.

Note: this field does not support #auto-complete.

Syntax
代码块
comment
Field Type

TEXT

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Fields (excluding IS)
quickstart:__JQL Operators supported by Text Fields (excluding IS)
nopaneltrue
Supported Functions

n/a

Examples
示例
  • Find issues where a Comment contains text that matches "My PC is quite old" (i.e. a "fuzzy" match:
    代码块
    comment ~ "My PC is quite old"
  • Find issues where a Comment contains the exact phrase "My PC is quite old":
    代码块
    comment ~ "\"My PC is quite old\""

Component
Component

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).

信息
titleIt is safer to search by component ID than by component name

Different projects may have components with the same name, so searching by component name may return issues from multiple projects. It is also possible for your JIRA administrator to change the name of a component, which could break any saved filters which rely on that name. Component IDs, however, are unique and cannot be changed.

Note: this field supports #auto-complete.

Syntax
代码块
component
Field Type

COMPONENT

Supported Operators
包含页面
quickstart:__JQL Operators supported by Select Fields
quickstart:__JQL Operators supported by Select Fields
nopaneltrue
Supported Functions

When used with the #IN and #NOT_IN operators, component supports:

Examples
示例
  • Find issues in the "Comp1" or "Comp2" component:
    代码块
     component in (Comp1, Comp2)
  • Find issues in the "Comp1" and "Comp2" components:
    代码块
     component in (Comp1) and component in (Comp2)
    or
    代码块
     component = Comp1 and component = Comp2
  • Find issues in the component with ID 20500:
    代码块
    component = 20500

Created
Created

CreatedDate
CreatedDate

createdDate
createdDate

Created

Search for issues that were created on, before or after a particular date (or date range).

包含页面
quickstart:__JQL Date Formats
quickstart:__JQL Date Formats
nopaneltrue

Note: this field does not support #auto-complete.

Syntax
代码块
created

Alias:

代码块
createdDate
Field Type

DATE

Supported Operators
包含页面
quickstart:__JQL Operators supported by Numeric Fields
quickstart:__JQL Operators supported by Numeric Fields
nopaneltrue
Supported Functions

When used with the #EQUALS, #NOT_EQUALS, #GREATER_THAN, #GREATER_THAN_EQUALS, #LESS_THAN or #LESS_THAN_EQUALS operators, createdDate supports:

Examples
示例
  • Find all issues created on or before 12th December 2008 00:00:
    代码块
    created <= "2008/12/12"
  • Find issues created less than one day ago:
    代码块
    created > "-1d"
  • Find issues created in January 2009:
    代码块
    created > "2008/12/31" and created < "2009/02/01"
  • Find issues created on 15 January 2009:
    代码块
    created > "2009/01/14" and created < "2009/01/16"

custom
custom

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).

信息
titleIt is safer to search by Custom Field ID than by Custom Field name

It is possible for a Custom Field to have the same name as a built-in JIRA system field, in which case JIRA will search on the system field (not your custom field). It is also possible for your JIRA administrator to change the name of a Custom Field, which could break any saved filters which rely on that name. Custom Field IDs, however, are unique and cannot be changed.

Note:

  • JIRA text-search syntax can be used with Custom Fields of type 'Text'.
  • #auto-complete is supported for Custom Fields of type picker, group picker, select (except 'Cascading Select'), check-box and radio button fields.
Syntax
代码块
CustomFieldName

Alias:

代码块
cf[CustomFieldID]
Field Type

Depends on the Custom Field's configuration

Supported Operators

Different types of Custom Fields support different #operators. For the default Custom Field Types, the following operators are supported:

  • Number and date/time fields:
    包含页面
    quickstart:__JQL Operators supported by Numeric Fields
    quickstart:__JQL Operators supported by Numeric Fields
    nopaneltrue
  • Picker, select, check-box and radio button fields:
    包含页面
    quickstart:__JQL Operators supported by Select Fields
    quickstart:__JQL Operators supported by Select Fields
    nopaneltrue
  • Text fields:
    包含页面
    quickstart:__JQL Operators supported by Text Fields
    quickstart:__JQL Operators supported by Text Fields
    nopaneltrue
Supported Functions

Different types of Custom Fields support different #functions. For the default Custom Field Types, the following functions are supported:

Examples
示例
  • Find issues where the value of the "Location" Custom Field is "New York":
    代码块
    location = "New York"
  • Find issues where the value of the Custom Field with ID 10003 is "New York":
    代码块
    cf[10003] = "New York"
  • Find issues where the value of the "Location" Custom Field is "London" or "Milan" or "Paris":
    代码块
    cf[10003] in ("London", "Milan", "Paris")
  • Find issues where the "Location" Custom Field has no value:
    代码块
    location != empty

Description
Description

Description

Search for issues where the Description contains particular text.

JIRA text-search syntax can be used.

Note: this field does not support #auto-complete.

Syntax
代码块
description
Field Type

TEXT

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Fields
quickstart:__JQL Operators supported by Text Fields
nopaneltrue
Supported Functions

n/a

Examples
示例
  • Find issues where the Description contains text that matches "Please see screenshot" (i.e. a "fuzzy" match):
    代码块
    description ~ "Please see screenshot"
  • Find issues where the Description contains the exact phrase "Please see screenshot":
    代码块
    description ~ "\"Please see screenshot\""

Due
Due

DueDate
DueDate

dueDate
dueDate

Due

Search for issues that were due on, before or after a particular date (or date range).

包含页面
quickstart:__JQL Date Formats
quickstart:__JQL Date Formats
nopaneltrue

Note that Due Date relates to the date only (not to the time).

Note: this field does not support #auto-complete.

Syntax
代码块
due

Alias:

代码块
dueDate
Field Type

DATE

Supported Operators
包含页面
quickstart:__JQL Operators supported by Numeric Fields
quickstart:__JQL Operators supported by Numeric Fields
nopaneltrue
Supported Functions

When used with the #EQUALS, #NOT_EQUALS, #GREATER_THAN, #GREATER_THAN_EQUALS, #LESS_THAN or #LESS_THAN_EQUALS operators, dueDate supports:

Examples
示例
  • Find all issues due on or before 31st December 2008:
    代码块
    due <= "2008/12/31"
  • Find issues that are due tomorrow:
    代码块
    due = "1d"
  • Find issues that were due in January 2009:
    代码块
    due > "2008/12/31" and due < "2009/02/01"
  • Find issues that were due on 15 January 2009:
    代码块
    due > "2009/01/14" and due < "2009/01/16"

Environment
Environment

Environment

Search for issues where the Environment contains particular text.

JIRA text-search syntax can be used.

Note: this field does not support #auto-complete.

Syntax
代码块
environment
Field Type

TEXT

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Fields
quickstart:__JQL Operators supported by Text Fields
nopaneltrue
Supported Functions

n/a

Examples
示例
  • Find issues where the Environment contains text that matches "Third floor" (i.e. a "fuzzy" match):
    代码块
    environment ~ "Third floor"
  • Find issues where the Environment contains the exact phrase "Third floor":
    代码块
    environment ~ "\"Third floor\""

filter
filter

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).

信息
titleIt 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.

Note:

  • An #ORDER BY 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).
  • This field supports #auto-complete.
    Syntax
    代码块
    filter
    Aliases:
    代码块
    request
    代码块
    savedFilter
    代码块
    searchRequest
Field Type

FILTER

Supported Operators
包含页面
quickstart:__JQL Operators supported by Select Fields (excluding IS)
quickstart:__JQL Operators supported by Select Fields (excluding IS)
nopaneltrue
Supported Functions

n/a

Examples
示例
  • Search the results of the filter "My Saved Filter" (which has an ID of 12000) for issues assigned to the user jsmith:
    代码块
    filter = "My Saved Filter" and assignee = jsmith
    or
    代码块
    filter = 12000 and assignee = jsmith

FixVersion
FixVersion

fixVersion
fixVersion

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).

信息
titleIt is 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.

Note: this field supports #auto-complete.

Syntax
代码块
fixVersion
Field Type

VERSION

Supported Operators
包含页面
quickstart:__JQL Operators supported by Numeric Fields
quickstart:__JQL Operators supported by Numeric Fields
nopaneltrue

Note that the comparison operators (e.g. ">") use the version order that has been set up by your project administrator, not a numeric or alphabetic order.

Supported Functions

When used with the #IN and #NOT_IN operators, fixVersion supports:

Examples
示例
  • Find issues with a Fix Version of 3.14 or 4.2:
    代码块
     fixVersion in ("3.14", "4.2")
    (Note that full-stops are reserved #characters, so they need to be surrounded by quote marks.)
  • Find issues with a Fix Version of "Little Ted":
    代码块
    fixVersion = "Little Ted"
  • Find issues with a Fix Version ID of 10001:
    代码块
    fixVersion = 10001

Issue
Issue

Issue Key

Search for issues with a particular Issue Key or Issue ID (i.e. the number that JIRA automatically allocates to an Issue).

Note: this field does not support #auto-complete.

Syntax
代码块
issueKey

Aliases:

代码块
id
代码块
issue
代码块
key
Field Type

ISSUE

Supported Operators
包含页面
quickstart:__JQL Operators supported by Numeric Fields
quickstart:__JQL Operators supported by Numeric Fields
nopaneltrue
Supported Functions

When used with the #IN or #NOT_IN operators, issueKey supports:

Examples
示例
  • Find the issue with key "ABC-123":
    代码块
    issueKey = ABC-123 

Level
Level

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 Security Level name or Issue Security Level ID (i.e. the number that JIRA automatically allocates to an Issue Security Level).

信息
titleIt 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 which rely on that name. Security Level IDs, however, are unique and cannot be changed.

Note: this field supports #auto-complete.

Syntax
代码块
level
Field Type

SECURITY LEVEL

Supported Operators
包含页面
quickstart:__JQL Operators supported by Select Fields
quickstart:__JQL Operators supported by Select Fields
nopaneltrue
Supported Functions

n/a

Examples
示例
  • Search for issues with a Security Level of "Really High" or "level1":
    代码块
    level in ("Really High", level1)
  • Search for issues with a Security Level ID of 123:
    代码块
    level = 123

originalEstimate
originalEstimate

OriginalEstimate
OriginalEstimate

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.

Note: this field does not support #auto-complete.

Syntax
代码块
originalEstimate

Alias:

代码块
timeOriginalEstimate
Field Type

DURATION

Supported Operators
包含页面
quickstart:__JQL Operators supported by Numeric Fields
quickstart:__JQL Operators supported by Numeric Fields
nopaneltrue
Supported Functions

n/a

Examples
示例
  • Find issues with an Original Estimate of 1 hour:
    代码块
    originalEstimate = 1h
  • Find issues with an Original Estimate of more than 2 days:
    代码块
    originalEstimate > 2d

Parent
Parent

Parent

Only available if sub-tasks have been enabled by your JIRA administrator.

Search for all sub-tasks of a particular issue. You can search by Issue Key or by Issue ID (i.e. the number that JIRA automatically allocates to an Issue).

Note: this field does not support #auto-complete.

Syntax
代码块
parent
Field Type

ISSUE

Supported Operators
包含页面
quickstart:__JQL Operators supported by Select Fields (excluding IS)
quickstart:__JQL Operators supported by Select Fields (excluding IS)
nopaneltrue
Supported Functions

n/a

Examples
示例
  • Find issues that are sub-tasks of issue TEST-1234:
    代码块
    parent = TEST-1234

Priority
Priority

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).

信息
titleIt is safer to search by Priorty 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 which rely on that name. Priority IDs, however, are unique and cannot be changed.

Note: this field supports #auto-complete.

Syntax
代码块
priority
Field Type

PRIORITY

Supported Operators
包含页面
quickstart:__JQL Operators supported by Numeric Fields
quickstart:__JQL Operators supported by Numeric Fields
nopaneltrue
Supported Functions

n/a

Examples
示例
  • Find issues with a Priority of "High":
    代码块
     priority = High
  • Find issues with a Priority ID of 10000:
    代码块
    priority = 10000

Project
Project

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).

Note: this field supports #auto-complete.

Syntax
代码块
project
Field Type

PROJECT

Supported Operators
包含页面
quickstart:__JQL Operators supported by Select Fields
quickstart:__JQL Operators supported by Select Fields
nopaneltrue
Supported Functions

When used with the #IN and #NOT_IN operators, project supports:

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

remainingEstimate
remainingEstimate

RemainingEstimate
RemainingEstimate

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.

Note: this field does not support #auto-complete.

Syntax
代码块
remainingEstimate

Alias:

代码块
timeEstimate
Field Type

DURATION

Supported Operators
包含页面
quickstart:__JQL Operators supported by Numeric Fields
quickstart:__JQL Operators supported by Numeric Fields
nopaneltrue
Supported Functions

n/a

Examples
示例
  • Find issues with a Remaining Estimate of more than 4 hours:
    代码块
     remainingEstimate > 4h 

Reporter
Reporter

Reporter

Search for issues that were reported by (i.e. created by) a particular user.

You can search by the user's Full Name, ID or Email Address.

Note: this field supports #auto-complete.

Syntax
代码块
reporter
Field Type

USER

Supported Operators
包含页面
quickstart:__JQL Operators supported by Select Fields
quickstart:__JQL Operators supported by Select Fields
nopaneltrue
Supported Functions

When used with the #IN and #NOT_IN operators, reporter supports:

When used with the #EQUALS and #NOT_EQUALS operators, reporter supports:

Examples
示例
  • Search for issues that were created by Jill Jones:
    代码块
    reporter = "Jill Jones"
    or
    代码块
    reporter = jjones
  • Search for issues that were created by the user with email address "bob@mycompany.com":
    代码块
    assignee = "bob@mycompany.com"
    (Note that full-stops and "@" symbols are reserved #characters, so the email address needs to be surrounded by quote-marks.)

Resolution
Resolution

Resolution

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).

信息
titleIt is safer to search by Resolution ID than Resolution name

It is possible for your JIRA administrator to change the name of a Resolution, which could break any saved filter which rely on that name. Resolution IDs, however, are unique and cannot be changed.

Note: this field supports #auto-complete.

Syntax
代码块
resolution
Field Type

RESOLUTION

Supported Operators
包含页面
quickstart:__JQL Operators supported by Numeric Fields
quickstart:__JQL Operators supported by Numeric Fields
nopaneltrue
Supported Functions

n/a

Examples
示例
  • Find issues with a Resolution of "Cannot Reproduce" or "Won't Fix":
    代码块
     resolution in ("Cannot Reproduce", "Won't Fix")
  • Find issues with a Resolution ID of 5:
    代码块
    resolution = 5
  • Find issues that do not have a Resolution:
    代码块
    resolution = unresolved

Resolved
Resolved

ResolutionDate
ResolutionDate

resolutionDate
resolutionDate

Resolved

Search for issues that were resolved on, before or after a particular date (or date range).

包含页面
quickstart:__JQL Date Formats
quickstart:__JQL Date Formats
nopaneltrue

Note: this field does not support #auto-complete.

Syntax
代码块
resolved

Alias:

代码块
resolutionDate
Field Type

DATE

Supported Operators
包含页面
quickstart:__JQL Operators supported by Numeric Fields
quickstart:__JQL Operators supported by Numeric Fields
nopaneltrue
Supported Functions

When used with the #EQUALS, #NOT_EQUALS, #GREATER_THAN, #GREATER_THAN_EQUALS, #LESS_THAN or #LESS_THAN_EQUALS operators, resolved supports:

Examples
示例
  • Find all issues that were resolved on or before 31st December 2008 00:00:
    代码块
    resolved <= "2008/12/31"
  • Find issues that were resolved in January 2009:
    代码块
    resolved > "2008/12/31" and resolved < "2009/02/01"
  • Find issues that were resolved on 15 January 2009:
    代码块
    resolved > "2009/01/14" and resolved < "2009/01/16"
  • Find issues that were resolved in the last hour:
    代码块
    resolved > -1h

Status
Status

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).

信息
titleIt is safer to search by Status ID than Status name

It is possible for your JIRA administrator to change the name of a Status which could break any saved filter which rely on that name. Status IDs, however, are unique and cannot be changed.

Note: this field supports #auto-complete.

Syntax
代码块
status
Field Type

STATUS

Supported Operators
包含页面
quickstart:__JQL Operators supported by Select Fields
quickstart:__JQL Operators supported by Select Fields
nopaneltrue
Supported Functions

n/a

Examples
示例
  • Find issues with a Status of "Open":
    代码块
     status = Open
  • Find issues with a Status ID of 1:
    代码块
    status = 1

Summary
Summary

Summary

Search for issues where the Summary contains particular text.

JIRA text-search syntax can be used.

Note: this field does not support #auto-complete.

Syntax
代码块
summary
Field Type

TEXT

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Fields
quickstart:__JQL Operators supported by Text Fields
nopaneltrue
Supported Functions

n/a

Examples
示例
  • Find issues where the Summary contains text that matches "Error saving file" (i.e. a "fuzzy" match):
    代码块
    summary ~ "Error saving file"
  • Find issues where the Summary contains the exact phrase "Error saving file":
    代码块
    summary ~ "\"Error saving file\""

text
text

Text
Text

Text

This is a "master-field" that allows you to search all text fields, i.e.:

包含页面
quickstart:__JQL Text Fields
quickstart:__JQL Text Fields
nopaneltrue

Note: The text master-field can only be used with the #CONTAINS operator ("~" and "!~").

Syntax
代码块
text
Field Type

TEXT

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Fields (excluding IS and NOT)
quickstart:__JQL Operators supported by Text Fields (excluding IS and NOT)
nopaneltrue
Supported Functions

n/a

Examples
示例
  • Find issues where a text field matches the word "Fred":
    代码块
    text ~ "Fred"
    or
    代码块
    text ~ Fred
  • Find all issues where a text field contains the exact phrase "full screen":
    代码块
    text ~ "\"full screen\""

Type
Type

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).

信息
titleIt is safer to search by Type ID than Type name

It is possible for your JIRA administrator to change the name of a Type, which could break any saved filter which rely on that name. Type IDs, however, are unique and cannot be changed.

Note: this field supports #auto-complete.

Syntax
代码块
type

Alias:

代码块
issueType
Field Type

ISSUE_TYPE

Supported Operators
包含页面
quickstart:__JQL Operators supported by Select Fields
quickstart:__JQL Operators supported by Select Fields
nopaneltrue
Supported Functions

n/a

Examples
示例
  • Find issues with an Issue Type of "Bug":
    代码块
    type = Bug
  • Find issues with an Issue Type of "Bug" or "Improvement":
    代码块
     issueType in (Bug,Improvement)
  • Find issues with an Issue Type ID of 2:
    代码块
    issueType = 2

TimeSpent
TimeSpent

timeSpent
timeSpent

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.

Note: this field does not support #auto-complete.

Syntax
代码块
timeSpent
Field Type

DURATION

Supported Operators
包含页面
quickstart:__JQL Operators supported by Numeric Fields
quickstart:__JQL Operators supported by Numeric Fields
nopaneltrue
Supported Functions

n/a

Examples
示例
  • Find issues where the Time Spent is more than 5 days:
    代码块
    timeSpent > 5d

Updated
Updated

UpdatedDate
UpdatedDate

updatedDate
updatedDate

Updated

Search for issues that were last updated on, before or after a particular date (or date range).

包含页面
quickstart:__JQL Date Formats
quickstart:__JQL Date Formats
nopaneltrue

Note: this field does not support #auto-complete.

Syntax
代码块
updated

Alias:

代码块
updatedDate
Field Type

DATE

Supported Operators
包含页面
quickstart:__JQL Operators supported by Numeric Fields
quickstart:__JQL Operators supported by Numeric Fields
nopaneltrue
Supported Functions

When used with the #EQUALS, #NOT_EQUALS, #GREATER_THAN, #GREATER_THAN_EQUALS, #LESS_THAN or #LESS_THAN_EQUALS operators, updated supports:

Examples
示例
  • Find issues that were updated on or before 12th December 2008 00:00:
    代码块
    updated <= "2008/12/12"
  • Find issues that were updated more than two weeks ago:
    代码块
    updated < "-2w"
  • Find issues that were updated on 15 January 2009:
    代码块
    updated > "2009/01/14" and updated < "2009/01/16"
  • Find issues that were updated in January 2009:
    代码块
    updated > "2008/12/31" and updated < "2009/02/01"

voter
voter

Voter
Voter

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. See also #votedIssues.

Note: this field supports #auto-complete.

Syntax
代码块
voter
Field Type

USER

Supported Operators
包含页面
quickstart:__JQL Operators supported by Select Fields
quickstart:__JQL Operators supported by Select Fields
nopaneltrue
Supported Functions

When used with the #IN and #NOT_IN operators, voter supports:

When used with the #EQUALS and #NOT_EQUALS operators, voter supports:

Examples
示例
  • Search for issues for which you have voted:
    代码块
    voter = currentUser()
  • Search for issues for which the user "jsmith" has voted:
    代码块
    voter = "jsmith"
  • Search for issues for which a member of the group "jira-developers" has voted:
    代码块
    voter in membersOf("jira-developers")

Votes
Votes

Votes

Search for issues with a specified number of votes.

Note: this field does not support #auto-complete.

Syntax
代码块
votes
Field Type

NUMBER

Supported Operators
包含页面
quickstart:__JQL Operators supported by Numeric Fields (excluding IS)
quickstart:__JQL Operators supported by Numeric Fields (excluding IS)
nopaneltrue
Supported Functions

n/a

Examples
示例
  • Find all issues that have 12 or more votes:
    代码块
    votes >= 12

watcher
watcher

Watcher
Watcher

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.

Note: this field supports #auto-complete.

Syntax
代码块
voter
Field Type

USER

Supported Operators
包含页面
quickstart:__JQL Operators supported by Select Fields
quickstart:__JQL Operators supported by Select Fields
nopaneltrue
Supported Functions

When used with the #IN and #NOT_IN operators, watcher supports:

When used with the #EQUALS and #NOT_EQUALS operators, watcher supports:

Examples
示例
  • Search for issues that you are watching:
    代码块
    watcher = currentUser()
  • Search for issues that the user "jsmith" is watching:
    代码块
    watcher = "jsmith"
  • Search for issues that are being watched by a member of the group "jira-developers":
    代码块
    watcher in membersOf("jira-developers")

WorkRatio
WorkRatio

workRatio
workRatio

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

Note: this field does not support #auto-complete.

Syntax
代码块
workRatio
Field Type

NUMBER

Supported Operators
包含页面
quickstart:__JQL Operators supported by Numeric Fields
quickstart:__JQL Operators supported by Numeric Fields
nopaneltrue
Supported Functions

n/a

Examples
示例
  • Find issues on which more than 75% of the Original Estimate has been spent:
    代码块
     workRatio > 75

...

内容区目录
maxLevel4
minLevel4
locationtop
typelist

cascadeOption
cascadeOption

cascadeOption()

Search for issues that match the selected values of a 'cascading select' custom field.

The parentOption parameter matches against the first tier of options in the cascading select field. The childOption parameter matches against the second tier of options in the cascading select field, and is optional.

The keyword "none" can be used to search for issues where either or both of the options have no value.

Syntax
代码块
cascadeOption(parentOption)

or

代码块
cascadeOption(parentOption,childOption)
Supported Field Types

CASCADING_OPTION

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
Examples
示例
  • Find issues where a custom field ("Location") has the value "USA" for the first tier and "New York" for the second tier:
    代码块
    location in cascadeOption("USA","New York")
  • Find issues where a custom field ("Location") has the value "USA" for the first tier and any value (or no value) for the second tier:
    代码块
    location in cascadeOption("USA")
  • Find issues where a custom field ("Location") has the value "USA" for the first tier and no value for the second tier:
    代码块
    location in cascadeOption("USA",none)
  • Find issues where a custom field ("Location") has no value for the first tier and no value for the second tier:
    代码块
    location in cascadeOption(none)
  • Find issues where a custom field ("Referrer") has the value "none" for the first tier and "none" for the second tier:
    代码块
    referrer in cascadeOption("\"none\"","\"none\"")
  • Find issues where a custom field ("Referrer") has the value "none" for the first tier and no value for the second tier:
    代码块
    referrer in cascadeOption("\"none\"",none)

componentsLeadByUser
componentsLeadByUser

componentsLeadByUser()

Find issues in components that are lead by a specific user.

You can optionally specify a user, or if the user is omitted the current user (i.e. you) will be used.

Note that if you are not logged in to JIRA, a user must be specified.

Syntax
代码块
componentsLeadByUser()

or

代码块
componentsLeadByUser(username)
Supported Field Types

COMPONENT

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
Examples
示例
  • Find open issues in components that are lead by you:
    代码块
    component in componentsLeadByUser() AND status = Open
  • Find open issues in components that are lead by Bill:
    代码块
    component in componentsLeadByUser(bill) AND status = Open

currentLogin
currentLogin

currentLogin()

Perform searches based on the time at which the current user's session began. See also #lastLogin.

Syntax
代码块
currentLogin()
Supported Field Types

DATE

Supported Operators
包含页面
quickstart:__JQL Operators supported by Date Functions
quickstart:__JQL Operators supported by Date Functions
nopaneltrue
Examples
示例
  • Find issues that have been created during my current session:
    代码块
    created > currentLogin()

currentUser
currentUser

currentUser()

Perform searches based on the currently logged-in user.

Note that this function can only be used by logged-in users. So if you are creating a saved filter that you expect to be used by anonymous users, do not use this function.

Syntax
代码块
currentUser()
Supported Field Types

USER

Supported Operators
包含页面
quickstart:__JQL Operators supported by User Functions
quickstart:__JQL Operators supported by User Functions
nopaneltrue
Examples
示例
  • Find issues that are assigned to me:
    代码块
    assignee = currentUser()
  • Find issues that were reported to me but are not assigned to me:
    代码块
    reporter = currentUser() and assignee != currentUser()

issueHistory
issueHistory

issueHistory()

Find issues that you have recently viewed, i.e. issues that are in the 'Recent Issues' section of the 'Issues' drop-down menu.

Note:

  • issueHistory() returns up to 50 issues, whereas the 'Recent Issues' drop-down returns only 5.
  • if you are not logged in to JIRA, only issues from your current browser session will be included.
Syntax
代码块
issueHistory()
Supported Field Types

ISSUE

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
Examples
示例
  • Find issues which I have recently viewed, that are assigned to me:
    代码块
    issue in issueHistory() AND assignee = currentUser()

lastLogin
lastLogin

lastLogin()

Perform searches based on the time at which the current user's previous session began. See also #currentLogin.

Syntax
代码块
currentLogin()
Supported Field Types

DATE

Supported Operators
包含页面
quickstart:__JQL Operators supported by Date Functions
quickstart:__JQL Operators supported by Date Functions
nopaneltrue
Examples
示例
  • Find issues that have been created during my last session:
    代码块
    created > lastLogin()

linkedIssues
linkedIssues

linkedIssues()

Perform searches based on issues which are linked to a specified issue.

You can optionally restrict the search to links of a particular type. Note that LinkType is case-sensitive.

Syntax
代码块
linkedIssues(issueKey)

or

代码块
linkedIssues(issueKey,linkType)
Supported Field Types

ISSUE

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
Examples
示例
  • Find issues that are linked to a particular issue:
    代码块
    issue in linkedIssues(ABC-123)
  • Find issues that are linked to a particular issue via a particular type of link:
    代码块
    issue in linkedIssues(ABC-123,"is duplicated by")

membersOf
membersOf

membersOf()

Perform searches based on the members of a particular group.

Syntax
代码块
membersOf(Group)
Supported Field Types

USER

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
Examples
示例
  • Find issues where the Assignee is a member of the group "jira-developers":
    代码块
    assignee in membersOf("jira-developers")
  • Search through multiple groups and a specific user, e.g:
    代码块
    reporter in membersOf("jira-developers") or reporter in membersOf("jira-administrators") or reporter=jsmith
  • Search for a particular group, but exclude a particular member or members, e.g.:
    代码块
    assignee in membersOf(QA) and assignee not in ("John Smith","Jill Jones")
  • Exclude members of a particular group:
    代码块
    assignee not in membersOf(QA)

now
now

now()

Perform searches based on the current time.

Syntax
代码块
now()
Supported Field Types

DATE

Supported Operators
包含页面
quickstart:__JQL Operators supported by Date Functions
quickstart:__JQL Operators supported by Date Functions
nopaneltrue
Examples
示例
  • Find issues that are overdue:
    代码块
    duedate < now() and status not in (closed, resolved) 

projectsLeadByUser
projectsLeadByUser

projectsLeadByUser()

Find issues in projects that are lead by a specific user.

You can optionally specify a user, or if the user is omitted the current user will be used.

Note that if you are not logged in to JIRA, a user must be specified.

Syntax
代码块
projectsLeadByUser()

or

代码块
projectsLeadByUser(username)
Supported Field Types

PROJECT

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
Examples
示例
  • Find open issues in projects that are lead by you:
    代码块
    project in projectsLeadByUser() AND status = Open
  • Find open issues in projects that are lead by Bill:
    代码块
    project in projectsLeadByUser(bill) AND status = Open

projectsWhereUserHasPermission
projectsWhereUserHasPermission

projectsWhereUserHasPermission()

Find issues in projects where you have a specific permission.

Note that this function is only available if you are logged in to JIRA.

Syntax
代码块
projectsWhereUserHasPermission(permission)

For the permission parameter you can specify any of the following:

包含页面
quickstart:__project permissions
quickstart:__project permissions
nopaneltrue
Supported Field Types

PROJECT

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
Examples
示例
  • Find open issues in projects where you have the "Resolve Issues" permission:
    代码块
    project in projectsWhereUserHasPermission("Resolve Issues") AND status = Open

projectsWhereUserHasRole
projectsWhereUserHasRole

projectsWhereUserHasRole()

Find issues in projects where you have a specific role.

Note that this function is only available if you are logged in to JIRA.

Syntax
代码块
projectsWhereUserHasRole(rolename)
Supported Field Types

PROJECT

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
Examples
示例
  • Find open issues in projects where you have the "Developers" role:
    代码块
    project in projectsWhereUserHasRole("Developers") AND status = Open

releasedVersions
releasedVersions

releasedVersions()

Perform searches based on the released versions (i.e. versions that your JIRA administrator has released) of a specified project.

You can also search on the released versions of all projects, by omitting the project parameter.

Syntax
代码块
releasedVersions()

or

代码块
releasedVersions(project)
Supported Field Types

VERSION

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
Examples
示例
  • Find issues whose #FixVersion is a released version of the ABC project:
    代码块
    fixVersion in releasedVersions(ABC)
  • Find issues that relate to released versions of the ABC project:
    代码块
    affectedVersion in releasedVersions(ABC)
    or
    代码块
    fixVersion in releasedVersions(ABC)

standardIssuesTypes
standardIssuesTypes

standardIssueTypes()

Perform searches based on "standard" Issue Types, that is, search for issues which are not sub-tasks.

Syntax
代码块
standardIssueTypes()
Supported Field Types

ISSUE_TYPE

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
Examples
示例
  • Find issues that are not subtasks (i.e. issues whose Issue Type is a standard issue type, not a subtask issue type):
    代码块
    issuetype in standardIssueTypes()

subtaskIssuesTypes
subtaskIssuesTypes

subtaskIssueTypes()

Perform searches based on issues which are sub-tasks.

Syntax
代码块
subtaskIssueTypes()
Supported Field Types

ISSUE_TYPE

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
Examples
示例
  • Find issues that are subtasks (i.e. issues whose Issue Type is a subtask issue type):
    代码块
    issuetype in subtaskIssueTypes()

unreleasedVersions
unreleasedVersions

unreleasedVersions()

Perform searches based on the unreleased versions (i.e. versions that your JIRA administrator has not yet released) of a specified project.

You can also search on the unreleased versions of all projects, by omitting the project parameter.

Syntax
代码块
unreleasedVersions()

or

代码块
unreleasedVersions(project)
Supported Field Types

VERSION

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
Examples
示例
  • Find issues whose #FixVersion is an unreleased version of the ABC project:
    代码块
    fixVersion in unreleasedVersions(ABC)
  • Find issues that relate to unreleased versions of the ABC project:
    代码块
    affectedVersion in unreleasedVersions(ABC)
    or
    代码块
    fixVersion in unreleasedVersions(ABC)

votedIssues
votedIssues

votedIssues()

Perform searches based on issues for which you have voted. Also see the #Voter field.

Note that this function can only be used by logged-in users.

Syntax
代码块
votedIssues()
Supported Field Types

ISSUE

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
Examples
示例
  • Find issues that you have voted for:
    代码块
    issue in votedIssues()

watchedIssues
watchedIssues

watchedIssues()

Perform searches based on issues which you are watching. Also see the #Watcher field.

Note that this function can only be used by logged-in users.

Syntax
代码块
watchedIssues()
Supported Field Types

ISSUE

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
Examples
示例
  • Find issues that you are watching:
    代码块
    issue in watchedIssues()
Supported Field Types

ISSUE

Supported Operators
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
Examples
示例
  • Find issues that you have recently viewed:
    代码块
    issue in issueHistory()

...