I want to build an advanced filter:
step 1. Find tickets that meet the filter as below

step 2. Display parents of tasks from step 1
For Example, in Step 1 I receive 2 tasks.
First one:

Second one:

so, my advanced filter should display SYS-540 and SYS-535 tasks. How can I achieve this?