JIRA JQL Select Items Resolved By User

时间:2018-01-23 19:20:45

标签: jira jql

I'm trying to write a JQL statement to return all tickets resolved from the beginning of the month and sorted by user. I've looked at This Thread, and additionally This Article. I've attempted iterations from all of the examples in the first thread with no luck. The second thread involves creating a custom field. I assuming the reason the first thread's solutions aren't working is because all of the examples are from JIRA 4.* where as I am running JIRA 7.2.

status was Resolved BY currentUser()

"Resolved by" = currentUser()

Among others are not working. Screenshot

1 个答案:

答案 0 :(得分:1)

如果您想查看自月初以来特定用户解决了哪些问题,那么您可以使用这样的JQL查询:

status CHANGED TO resolved BY currentUser() AFTER startOfMonth()

status CHANGED TO resolved BY "username" AFTER startOfMonth()

有关'已更改'运算符的详细信息,请here

如果你想要一些更通用的东西来显示所有用户的结果,那么你可以省略'BY'部分,但你不能开箱即用,因为问题没有一个字段,包含解决问题的用户。在搜索结果中,您只能通过问题字段排序(并添加一列)。

如果您确实想要添加自定义字段来保存解决问题的用户,那么您可以使用Script Runner add-on,编写填写自定义字段的帖子函数脚本并将post函数添加到在您的工作流程中“解决”转换。有关详细信息,请参阅Script Runner documentation