页面树结构

版本比较

标识

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

...

内容区目录
maxLevel4
minLevel4
locationtop
typelist

cascadeOption
cascadeOption

级联选择列表值 cascadeOption()

按照 自定义字段(链接到Atlassian网站)中设置的 '级联选择列表'值来查找问题。

一级列表值 是必选参数。 二级列表值 是可选参数。

关键字 "none" 可以用来搜索级联列表值为空的问题。

语法
代码块
cascadeOption(parentOption)

或者

代码块
cascadeOption(parentOption,childOption)
支持的字段类型

级联选择列表 CASCADING_OPTION

支持的运算符
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
示例
  • 查找自定义字段 ("Location") 中 "USA" 下 "New York" 的问题:
    代码块
    location in cascadeOption("USA","New York")
  • 查找自定义字段 ("Location") 中 "USA" 下(包括二级选择值为空)的所有问题:
    代码块
    location in cascadeOption("USA")
  • 查找自定义字段 ("Location") 中 "USA" 下, 二级选择值为空的问题:
    代码块
    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.

查找指定模块负责人负责的问题。

如果你没有输入用户参数, JIRA会将当前用户(你)作为默认条件。You can optionally specify a user, or if the user is omitted the current user (i.e. you) will be used.

如果你没有登录JIRA, 必须指定用户。

语法
代码块
componentsLeadByUser()

代码块
componentsLeadByUser(username)
支持的字段类型

模块 COMPONENT

支持的运算符
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
示例
  • Find open issues in components that are lead by you查看模块负责人是你,状态是Open的问题:
    代码块
    component in componentsLeadByUser() AND status = Open
    Find open issues in components that are lead by Bill
  • 查看模块负责人是Bill,状态是Open的问题:
    代码块
    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. 按照当前用户进程搜索问题。 还可以查阅 上次进程

语法
代码块
currentLogin()
支持的字段类型

日期 DATE

支持的运算符
包含页面
quickstart:__JQL Operators supported by Date Functions
quickstart:__JQL Operators supported by Date Functions
nopaneltrue
示例
  • Find issues that have been created during my current session查找当前进程中创建的问题:
    代码块
    created > currentLogin()
currentUser
()

currentUser
currentUser

当前用户 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.

语法
代码块
currentUser()
支持的字段类型

用户 USER

支持的运算符
包含页面
quickstart:__JQL Operators supported by User Functions
quickstart:__JQL Operators supported by User Functions
nopaneltrue
示例
  • 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. 只返回50个结果, 但是 '最近查看的问题' 只返回5个结果。
  • 如果你没有登录JIRA, 只返回当前浏览器进程中浏览的问题。if you are not logged in to JIRA, only issues from your current browser session will be included.
语法
代码块
issueHistory()
支持的字段类型

问题 ISSUE

支持的运算符
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
示例
  • 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. 按照当前用户上次进程搜索问题。还可以查阅 当前进程

语法
代码块
currentLogin()
支持的字段类型

日期 DATE

支持的运算符
包含页面
quickstart:__JQL Operators supported by Date Functions
quickstart:__JQL Operators supported by Date Functions
nopaneltrue
示例
  • 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.

链接的问题 linkedIssues()

查找问题的 链接 作为条件查找问题。

你可以指定链接类型作为查询条件,注意链接类型大小写敏感。 You can optionally restrict the search to links of a particular type. Note that LinkType is case-sensitive.

语法
代码块
linkedIssues(issueKey)

or 或者

代码块
linkedIssues(issueKey,linkType)
支持的字段类型

问题 ISSUE

支持的运算符
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
示例
  • Find issues that are linked to a particular issue查找被ABC-123链接的问题:
    代码块
    issue in linkedIssues(ABC-123)
    Find issues that are linked to a particular issue via a particular type of link
  • 查找被ABC-123链接,链接类型是"重复"的问题:
    代码块
    issue in linkedIssues(ABC-123,"is duplicated by重复")

membersOf
membersOf

是...的成员 membersOf()

按照指定用户组成员来查找问题。

语法
代码块
membersOf(Group)
支持的字段类型

用户 USER

支持的运算符
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
示例
  • 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) 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经办人不是用户组QA成员的问题:
    代码块
    assignee not in membersOf(QA)

now
now

当前时间 now()

以当前时间为搜索条件。

语法
代码块
now()
支持的字段类型

日期 DATE

支持的运算符
包含页面
quickstart:__JQL Operators supported by Date Functions
quickstart:__JQL Operators supported by Date Functions
nopaneltrue
示例
  • 查找过期的未解决的问题:
    代码块
    duedate < now() and status not in (closed, resolved) 

projectsLeadByUser
projectsLeadByUser

项目负责人 projectsLeadByUser()

查找指定项目负责人负责的问题。

你可以指定一个用户,或者不指定用户,JIRA会自动按照当前用户查找。

如果你没有登录JIRA, 你必须指定一个用户来执行这个函数。

语法
代码块
projectsLeadByUser()

或者

代码块
projectsLeadByUser(username)
支持的字段类型

项目 PROJECT

支持的运算符
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
示例
  • 查找项目负责人是你的问题:
    代码块
    project in projectsLeadByUser() AND status = Open
  • 查找项目负责人是Bill,并且状态为Open的问题:
    代码块
    project in projectsLeadByUser(bill) AND status = Open

projectsWhereUserHasPermission
projectsWhereUserHasPermission

你拥有的项目权限 projectsWhereUserHasPermission()

按照你拥有的项目 权限(链接到Atlassian网站)查找问题。

只有登录到JIRA后才能使用这个函数。

语法
代码块
projectsWhereUserHasPermission(permission)

查看具体的 权限 参数(链接到Atlassian网站)

支持的字段类型

项目 PROJECT

支持的运算符
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
示例
  • 查找你拥有"Resolve Issues"权限的项目中,状态"Open"的问题:
    代码块
    project in projectsWhereUserHasPermission("Resolve Issues") AND status = Open

projectsWhereUserHasRole
projectsWhereUserHasRole

你属于的项目角色 projectsWhereUserHasRole()

按照你属于指定的 项目角色(链接到Atlassian网站)搜索问题。

注意只有登录JIRA后才能使用这个函数。

语法
代码块
projectsWhereUserHasRole(rolename)
支持的字段类型

项目 PROJECT

支持的运算符
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
示例
  • 查找你作为 "Developers" 角色的项目中状态为"Open"的问题:
    代码块
    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.

语法
代码块
releasedVersions()

代码块
releasedVersions(project)
支持的字段类型

版本 VERSION

支持的运算符
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
示例
  • 查找项目 ABC 中所有 修复版本(FixVersion) 已经发布的问题:
    代码块
    fixVersion in releasedVersions(ABC)
  • 查找项目 ABC 中所有影响版本和修复版本已经发布的问题 :
    代码块
    affectedVersion in releasedVersions(ABC)
    代码块
    fixVersion in releasedVersions(ABC)

standardIssuesTypes
standardIssuesTypes

标准问题类型 standardIssueTypes()

按照"标准" 问题类型查找问题。标准问题类型指的是非 子任务的问题。

语法
代码块
standardIssueTypes()
支持的字段类型

问题类型 ISSUE_TYPE

支持的运算符
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
示例
  • 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. 查找所有子任务问题。

语法
代码块
subtaskIssueTypes()
支持的字段类型

问题类型 ISSUE_TYPE

支持的运算符
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
示例
  • 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.

语法
代码块
unreleasedVersions()

代码块
unreleasedVersions(project)
支持的字段类型

版本 VERSION

支持的运算符
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
示例
  • Find issues whose #FixVersion is an unreleased version of the ABC project查找ABC项目中修复版本(FixVersion)还未发布的问题:
    代码块
    fixVersion in unreleasedVersions(ABC)
  • Find issues that relate to unreleased versions of the ABC project查找ABC项目中影响版本和修复版本尚未发布的问题:
    代码块
    affectedVersion in unreleasedVersions(ABC)
    or
    代码块
    fixVersion in unreleasedVersions(ABC)

votedIssues
votedIssues

投票的问题 votedIssues()

查看你已投票的问题 . Also see the #Voter field.

只有登录用户才能使用这个函数。

语法
代码块
votedIssues()
支持的字段类型

问题 ISSUE

支持的运算符
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
示例
  • 查找你投票的问题:
    代码块
    issue in votedIssues()

watchedIssues
watchedIssues

关注的问题 watchedIssues()

查找你 正在关注的问题。 请查看 关注人(Watcher)字段。

只有登录用户才能使用这个函数。

语法
代码块
watchedIssues()
支持的字段类型

问题 ISSUE

支持的运算符
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
示例
  • 查找你关注的问题:
    代码块
    issue in watchedIssues()
支持的字段类型

问题 ISSUE

支持的运算符
包含页面
quickstart:__JQL Operators supported by Text Functions
quickstart:__JQL Operators supported by Text Functions
nopaneltrue
示例
  • 查找最近刚刚查看过的问题:
    代码块
    issue in issueHistory()

...