Hello,
All Epics in my project are linked as child to a task which represent sub-project.
In the example bellow, you can see that my Epic is child of NAG-2.
What I need to do is to retrieve all Epics child of a sub project, I tried the following JQL which works fine for subtasks but it does not return the Epics:

Any ideas?