Scenario
In certain scenarios, users may want to find a list of all the requests he or she has either approved or declined.
- JIRA administrator may need to track all the requests approved or declined by a particular user.
场景
在某些特定场景下,用户可能会希望了解我曾经批准过或曾经拒绝过的所有审批事项。
管理员可能会希望了解,某些特定用户曾经批准过或曾经拒绝过的所有审批事项。
JQL query
并行审批插件提供了 JIRA 的 JQL搜索函数,以帮助用户获取上述场景的数据。
Parallel Approval Process (PAP) provides JIRA JQL query to meet above requirements.
Approved issues
曾经批准过的问题代码块 issue in wptApprovedBypapApprovedBy("arguments")
可用参数:Arguments:
arguments
说明Description 备注Comments *搜索所有用户批准过的问题 Search all the users and list the issues approved by them respectively currentUser搜索当前用户批准过的问题 Search issues approved by current user uer1user1,user2搜索指定的部分用户批准过的问题 Search issues approved by particular users JIRA user key - 曾经拒绝过的问题
Declined issues
代码块 issue in wptRejectedBypapRejectedBy("arguments")
可用参数:Arguments:
arguments 说明Description 备注Comments *搜索所有用户拒绝过的问题 Search all the users and list the issues declined by them respectively currentUser搜索当前用户拒绝过的问题 Search issues declined by current user 用户1user1,用户2user2 Search issues declined by particular users搜索指定的部分用户拒绝过的问题 JIRA user key