Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Advanced quick filter (parent, sub-task)

Sam
Contributor
December 6, 2018

Hi, 

Is there a way to create JQL presenting Tasks which meet filter criteria and all its sub-task?

I would like to create a filter as follows if possible:

The easy part is obvious:

Show me Tasks with "Custom field 1" = A 

and the tricky part:

and all it's sub-tasks (but the problem is that there is no "Custom field 1" for sub-tasks)

 

Sam

1 answer

0 votes
Olga Videc
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 6, 2018

Hello @Sam

This should help 

issueFunction in subtasksOf("project = test AND issuetype = Task AND resolution in (Unresolved, Done)") and Show me Tasks with "Custom field 1" = A 

Parameters dont have to be project = xx etc.  the catch is that issueFunction requires 3 parameters

The first part should show you the matching subtasks 

issueFunction in subtasksOf("project = test AND issuetype = Task AND resolution in (Unresolved, Done)") 

And the second part tasks

Show me Tasks with "Custom field 1" = A 

Suggest an answer

Log in or Sign up to answer