锚 |
---|
| 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 |
---|
nopanel | true |
---|
| 示例 - 查找自定义字段 ("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. 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 |
---|
nopanel | true |
---|
| 示例 - 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() Perform searches based on the time at which the current user's session began. See also #lastLogin. 语法 支持的字段类型 日期 DATE 支持的运算符 包含页面 |
---|
| quickstart:__JQL Operators supported by Date Functions |
---|
| quickstart:__JQL Operators supported by Date Functions |
---|
nopanel | true |
---|
| 示例 - Find issues that have been created during my current session:
代码块 |
---|
created > currentLogin() |
当前用户 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. 语法 支持的字段类型 用户 USER 支持的运算符 包含页面 |
---|
| quickstart:__JQL Operators supported by User Functions |
---|
| quickstart:__JQL Operators supported by User Functions |
---|
nopanel | true |
---|
| 示例 - 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() 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.
语法 支持的字段类型 ISSUE 支持的运算符 包含页面 |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
nopanel | true |
---|
| 示例 - Find issues which I have recently viewed, that are assigned to me:
代码块 |
---|
issue in issueHistory() AND assignee = currentUser() |
lastLogin() Perform searches based on the time at which the current user's previous session began. See also #currentLogin. 语法 支持的字段类型 日期 DATE 支持的运算符 包含页面 |
---|
| quickstart:__JQL Operators supported by Date Functions |
---|
| quickstart:__JQL Operators supported by Date Functions |
---|
nopanel | true |
---|
| 示例 - Find issues that have been created during my last session:
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. 语法 代码块 |
---|
linkedIssues(issueKey) |
or 代码块 |
---|
linkedIssues(issueKey,linkType) | 支持的字段类型 ISSUE 支持的运算符 包含页面 |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
nopanel | true |
---|
| 示例 - 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() 按照指定用户组成员来查找问题。 语法 支持的字段类型 用户 USER 支持的运算符 包含页面 |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
nopanel | true |
---|
| 示例 - 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() 以当前时间为搜索条件。 语法 支持的字段类型 日期 DATE 支持的运算符 包含页面 |
---|
| quickstart:__JQL Operators supported by Date Functions |
---|
| quickstart:__JQL Operators supported by Date Functions |
---|
nopanel | true |
---|
| 示例 - 查找过期的未解决的问题:
代码块 |
---|
duedate < now() and status not in (closed, resolved) |
锚 |
---|
| projectsLeadByUser |
---|
| projectsLeadByUser |
---|
|
项目负责人 projectsLeadByUser() 查找指定项目负责人负责的问题。 你可以指定一个用户,或者不指定用户,JIRA会自动按照当前用户查找。 如果你没有登录JIRA, 你必须指定一个用户来执行这个函数。 语法 或者 代码块 |
---|
projectsLeadByUser(username) | 支持的字段类型 项目 PROJECT 支持的运算符 包含页面 |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
nopanel | true |
---|
| 示例 - 查找项目负责人是你的问题:
代码块 |
---|
project in projectsLeadByUser() AND status = Open |
- 查找项目负责人是Bill,并且状态为Open的问题:
代码块 |
---|
project in projectsLeadByUser(bill) AND status = Open |
锚 |
---|
| projectsWhereUserHasPermission |
---|
| projectsWhereUserHasPermission |
---|
|
你拥有的项目权限 projectsWhereUserHasPermission() Find issues in projects where you have a specific permission. 按照你拥有的项目 权限(链接到Atlassian网站)查找问题。 只有登录到JIRA后才能使用这个函数。Note that this function is only available if you are logged in to JIRA. 语法 代码块 |
---|
projectsWhereUserHasPermission(permission) |
For the permission parameter you can specify any of the following: 包含页面 |
---|
| quickstart:__project permissions | quickstart:__project permissions | nopanel | true查看具体的 权限
参数(链接到Atlassian网站)
支持的字段类型
项目 PROJECT
支持的运算符
包含页面 |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
nopanel | true |
---|
|
示例
- Find open issues in projects where you have the 查找你拥有"Resolve Issues"权限的项目中,状态" permissionOpen"的问题:
代码块 |
---|
project in projectsWhereUserHasPermission("Resolve Issues") AND status = Open |
锚 |
---|
| projectsWhereUserHasRole |
---|
| projectsWhereUserHasRole |
---|
|
你属于的项目角色 projectsWhereUserHasRole()
Find issues in projects where you have a specific role. 按照你属于指定的 项目角色(链接到Atlassian网站)搜索问题。
注意只有登录JIRA后才能使用这个函数。
语法
代码块 |
---|
projectsWhereUserHasRole(rolename) |
支持的字段类型
项目 PROJECT
支持的运算符
包含页面 |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
nopanel | true |
---|
|
示例
- Find open issues in projects where you have the 查找你作为 "Developers" 角色的项目中状态为"Open" role的问题:
代码块 |
---|
project in projectsWhereUserHasRole("Developers") AND status = Open |
锚 |
---|
| releasedVersions |
---|
| releasedVersions |
---|
|
已发布版本 releasedVersions()
Perform 按照项目的已发布版本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(project) |
支持的字段类型
版本 VERSION
支持的运算符
包含页面 |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
nopanel | true |
---|
|
示例
- Find issues whose #FixVersion is a released version of the ABC project查找项目 ABC 中所有 修复版本(FixVersion) 已经发布的问题:
代码块 |
---|
fixVersion in releasedVersions(ABC) |
- Find issues that relate to released versions of the ABC project查找项目 ABC 中所有影响版本和修复版本已经发布的问题 :
代码块 |
---|
affectedVersion in releasedVersions(ABC) |
or 或 代码块 |
---|
fixVersion in releasedVersions(ABC) |
锚 |
---|
| standardIssuesTypes |
---|
| standardIssuesTypes |
---|
|
标准问题类型 standardIssueTypes()
Perform searches based on "standard" 问题类型, that is, search for issues which are not sub-tasks. 按照"标准" 问题类型查找问题。标准问题类型指的是非 子任务的问题。
语法
支持的字段类型
问题类型 ISSUE_TYPE
支持的运算符
包含页面 |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
nopanel | true |
---|
|
示例
- 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.
语法
支持的字段类型
问题类型 ISSUE_TYPE
支持的运算符
包含页面 |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
nopanel | true |
---|
|
示例
- 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(project) |
支持的字段类型
版本 VERSION
支持的运算符
包含页面 |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
nopanel | true |
---|
|
示例
- 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()
查看你已投票的问题 . Also see the #Voter field.
只有登录用户才能使用这个函数。
语法
支持的字段类型
问题 ISSUE
支持的运算符
包含页面 |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
nopanel | true |
---|
|
示例
- 查找你投票的问题:
代码块 |
---|
issue in votedIssues() |
锚 |
---|
| watchedIssues |
---|
| watchedIssues |
---|
|
关注的问题 watchedIssues()
查找你 正在关注的问题。 请查看 关注人(Watcher)字段。
只有登录用户才能使用这个函数。
语法
支持的字段类型
问题 ISSUE
支持的运算符
包含页面 |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
nopanel | true |
---|
|
示例
- 查找你关注的问题:
代码块 |
---|
issue in watchedIssues() |
支持的字段类型
问题 ISSUE
支持的运算符
包含页面 |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
| quickstart:__JQL Operators supported by Text Functions |
---|
nopanel | true |
---|
|
示例
- 查找最近刚刚查看过的问题:
代码块 |
---|
issue in issueHistory() |
---|