In our project, we have the following structure:
Initiative -> WorkPackage -> Epic -> Task
They are linked by "Broken down from"
If I use the below query, I can list the Epics which have tasks in the current sprint
project = "xx" AND issueFunction in linkedIssuesOf("Sprint in openSprints()", "has Epic")
Is it possible to list the WorkPackages which subsequently have tasks in the current sprint? I.e. skipping the Epics.
I've tried different filter queries, but only been able to list all of the work packages in the project, not sorting them by having epics with tasks in the current sprint.