【问题标题】:Jql query for assignee or reporter as current user and status not closedJql 查询受让人或报告者作为当前用户且状态未关闭
【发布时间】:2023-01-03 16:43:50
【问题描述】:

下面的查询也列出了关闭状态。

assignee = currentUser() OR reporter = currentUser() AND status not in (Closed , resolved) order by updated DESC

删除reporter = currentUser()后,将看不到Closed状态列表。如何仅查看non-closed或unresolved状态用户currentUser类别的受让人和报告人的结果?

【问题讨论】:

    标签: jira jql


    【解决方案1】:

    你快到了,我想你只需要覆盖“或”条件的括号:

    (assignee = currentUser() OR reporter = currentUser()) AND status not in (Closed , resolved) order by updated DESC
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-01-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多