如何搜索由一组用户(多个用户)解决的问题?

时间:2016-08-02 05:20:25

标签: jira jql

我有一个由3人组成的团队,我想搜索他们解决的问题,以便我可以列出已知问题。如何使用基本或高级搜索在JIRA中搜索?

2 个答案:

答案 0 :(得分:2)

我终于找到了答案。这很简单。对于当前用户,请使用以下查询:

project = <project-name> AND status changed to "Resolved" by currentUser() ORDER BY updated DESC

对于多个用户使用:

project = <project-name> AND status changed to "Resolved" by ('<first-username>', '<second-username>', '<third-username>') ORDER BY updated DESC

答案 1 :(得分:1)

如果您对单个用户所做的更改感兴趣,可以使用如下查询:

project = MYPROJECT AND (resolution CHANGED TO fixed BY username1)

您可以使用 CHANGED BY 运算符搜索多个这样的用户:

project = MYPROJECT 
AND (
  (resolution CHANGED TO fixed BY username1) 
  OR (resolution CHANGED TO fixed BY username2) 
  OR (resolution CHANGED TO fixed BY username3)
)

如果您有很多用户要搜索,这会变得很麻烦。也可以搜索多个这样的用户:

project = MYPROJECT 
AND resolution CHANGED TO fixed BY ('username1', 'username2', 'username3')

如果您仅对特定日期(例如过去2周)内的更改感兴趣,请使用以下子查询:

resolution CHANGED TO fixed BY username1 AFTER -2w

有更多文档here