I am currently not able to pull a data of how many testcases per epic are scheduled in a sprint. The feature like ParentEpic() is not available in the JIRA version in my organisation.
The testcase is a subissuetype. The hierarchy is Epic -> Story ->Subtasks, Testcase.