Jira Quick-filter to show all task with subtasks assigned to current user

妖精的绣舞 提交于 2019-12-03 05:45:28

Create a filter for all of your subtask from the following JQL:

issuetype in subtaskIssueTypes() and assignee = currentUser()

Then, using Craftforge JQL Functions Plugin, use the following JQL to find their parents:

issue in parentIssuesFromFilter("filter name or its id")

In addition to @Kuf's answer, it's sometimes much simpler to write the whole thing in one query especially with Swimlanes or Quick-Filters in Greenhopper, rather than creating and saving custom filter.

For instance, to show Un-finished Issues or Sub-tasks in one quick-filter on Greenhopper:

status!=Closed or issue in parentIssuesFromQuery("issuetype in subtaskIssueTypes() AND status!=Closed ")

The following query will return all parent tasks, which have sub-tasks assigned to the current user. (The parent task need not be assigned to current user)

issueFunction in parentsOf("assignee = currentUser() ")

Note: issueFunction requires the ScriptRunner plugin and it's not free.

Navigate to Issues (in header) > Search for issues, then enter your search criteria.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!