Search code examples
jiraondemandjqljira-ondemand

JIRA On-Demand Querying by parent


I'm using the On Demand version of Jira. I need a filter that will show me:

All issues within a particular epic AND all sub tasks of those issues.

So effectively:

  • Epic
    • Story 1
      • Sub Task 1
      • Sub Task 2
    • Defect 1
    • Story 2
      • Sub Task 3
      • Sub Task 4
      • Defect 2

Plugins are not an option here as I'm using the OnDemand version. Any suggestions on how I can achieve the above without having to link all sub tasks to the epic?


Solution

  • Question is quite old but since 13 January 2017 Jira Cloud (previously OnDemand) supports a parentEpic:

    parentEpic = Epic-1
    

    this will find the epic itself, with all the stories/tasks in the epic and their sub-tasks, it was previously not possible without installing add-ons.