过滤以检索评论中过去7天内我提到过的所有JIRA问题

时间:2015-08-18 20:16:17

标签: jira jql

我正在尝试设置JIRA过滤器,以便在过去7天内找到我的所有提及(currentUser())。我接近下面的搜索,但它仍然给我提到我的所有问题,并在过去7天内更新。这还有很多。 :)我想在评论中过去7天内提到的所有问题。

comment ~ currentUser() AND issueFunction in commented(“after -7d”) 

谢谢你的帮助!

3 个答案:

答案 0 :(得分:3)

您是否尝试过类似此查询的内容?

(text ~ currentUser()) AND updatedDate >= -7d ORDER BY updated DESC

它在过去7天内给了我所有提及。但也在描述中提到(在this blog post上找到它。)

答案 1 :(得分:0)

我使用这样的东西:

(summary ~ currentUser() OR description ~ currentUser() OR comment ~ currentUser()) AND updatedDate >= -7d

答案 2 :(得分:0)

以下查询将为您提供您在任何地方(评论,说明,摘要等)提及的问题,并在过去7天内更新。

text ~ currentUser() AND updated > -7d ORDER BY updatedDate DESC

现在没有直接查询按提及日期过滤。也许链接中的脚本化JQL函数可以通过这种方式提供帮助。

https://jamieechlin.atlassian.net/wiki/pages/viewpage.action?pageId=57999378#ScriptedJQLFunctions-lastComment(commentquery)