I am trying to create a filter either using enhanced search or regular filter that for a specific project, for any open and future sprint includes any open epic and all open child issues for those open epics. I have this which gets all the issues but not the epics associated with them too.
So far this works but needs the epics as well to be returned
project = myproject AND sprint in futureSprints() OR sprint in openSprints () AND issuefunction in issuesInEpics("project = myproject") AND status in ("In Progress", "Ready ")