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

Robert Kovačević picture Robert Kovačević · Feb 1, 2013 · Viewed 21.6k times · Source

Currently, I have a quick filter to show me my task that does this:

assignee = currentUser()

This works ok, but doesn't show me tasks that are assigned to someone else, but have subtasks assigned to me. Is it possible to make it show me both tasks assigned to me, and tasks that have subtasks assigned to me?

Answer

Kuf picture Kuf · Feb 1, 2013

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")