I'm looking to use raw JQL (not using any plugins) to filter for all issues (tasks, bugs, subtasks) under several epics from another JQL.
I got a list of desired Epic through this JQL: project IN ("A Pjt","B Pjt") AND " Quarterly" = "2022 Q4" AND type = "Epic"
In order to get all issues under these epics, I tried to use parentEpic() function with: parentEpic IN ('project IN ("A Pjt","B Pjt") AND " Quarterly" = "2022 Q4" AND type = "Epic').
However it returns the issue key of "project IN ("A Pjt","B Pjt") AND " Quarterly" = "2022 Q4" AND type = "Epic"" is invalid.
Any help or suggestions would be appreciated.