title: Query/filter to return child issues from a list of active parents (EPICs)
body: <p>I'm looking for a JQL query/filter to return a list of child issues from a list of active parents (EPICs).</p>
  
  <p>For example:</p>
  
  <pre><code>"Epic Link" IN linkedIssuesInQuery("issueType = Epic AND Status = 'In Progress'")
  </code></pre>
  
  <p>I was hoping the above query would work, but the results are not what I expected. Is there a way in standard JIRA (no plugin) to return a list of all child issues of a Query/Filter set?</p>
  
  <p>I also tried a filter, but the results were the same as above:</p>
  
  <pre><code>"Epic Link" IN linkedIssuesInFilter("1234")
  // Where Filter Id 1234 was something like =&gt; issueType = Epic AND Status = 'In Progress'
  </code></pre>
  
  <p>Both examples above return results, however they seem to be incomplete results and I don't understand why some issues not not being returned.</p>
  
  <p>ps. The function <code>childIssuesOf("ABC-123")</code> returns the correct results for a single parent issue, but how do I provide a dynamic list of parents, not just a static <em>hardcoded</em> issue number?</p>
  
  <p><strong>EDIT</strong>:
  After a lot more experimenting and reading, I found that the JIRA instance I am using has a Plugin called JQL Tricks. This Plugin has a function which, based on its description, is exactly what I need: <code>parent(JqlQuery)</code> ... but it doesn't work!</p>
  
  <p>Here is my test query:</p>
  
  <pre><code>issue in parent("project in (MyProject) and status = \"In Progress\" and issueType = EPIC")
  </code></pre>
  
  <p>This query returns 0 results! However when I cut out the JqlQuery within <code>parent</code> and run it on its own, I get the complete list of EPIC's I expect to see and when I review the EPIC's they all have child issues. From all the experimenting I have done with this function, I believe there is an issue with the status "In Progress" (and also "Open") as when I try the call with other status types the child issues are return as expected. I have also tried a different approach for filtering for In Progress</p>
  
  <pre><code>issue in parent("project in (MyProject) and status not in (closed, refused, new, open) and issueType = EPIC")
  </code></pre>
  
  <p>However the result is exactly the same as above, 0 results!
  Finally I have also experimented with the function <code>subtask(JqlQuery)</code>, also without success.</p>
  
  <p>Can anyone help?</p>