...
issue in parentsOfIssuesInQuery("project='EXAMPLE' and typeissuetype=story")
finds all parents of stories in project EXAMPLE.issue in parentsOfIssuesInQuery("assignee=currentUser()")
finds parents of all of my issues.
...
issue in childrenOfIssuesInQuery("project='EXAMPLE' and typeissuetype=Epic")
finds all stories and tasks in project EXAMPLE.issue in childrenOfIssuesInQuery("assignee=currentUser()")
finds children of all of my tickets.
...