I am looking to create a JQL that returns Epics and all of the sub-tasks of the Epic which are a certain type. For example, I have a Epic that has a sub-task, but also has a custom sub-task type of Commitment. I am looking to write a JQL that returns all Epics in a project and the associated Commitment subtasks of each of the returned Epics.
I have tried issueFunction in epicsOf as well as issueFunction in subtasksOf. Seems like I need a way to combine both of these functions into one JQL? Thoughts or suggestions?