Lookback API _ProjectHierarchy not returning defects for child project
<p>I need to get all the defects for a particular project and all of its children.</p>

<p>The <a href="https://rally1.rallydev.com/analytics/doc/#/manual/a8ead32afef5fcd29f5532f6b333d4de" rel="nofollow noreferrer">Rally LBAPI</a> documentation says:</p>

<pre><code>For a project hierarchy like

    Project 7890
       Project 6543
          Project 3456

to retrieve all work items that are in Project 7890 or any of its child projects,
you would simply include this clause in your query:

   "_ProjectHierarchy": 7890
</code></pre>

<p>But doing this as in below query</p>

<pre><code>https://rally1.rallydev.com/analytics/v2.0/service/rally/workspace/XXX/artifact/snapshot/query.js?find={"_ProjectHierarchy":12345,"_TypeHierarchy": "Defect","__At": "current","Release":9999}&amp;fields=["FormattedID","Name","State","OpenedDate","ClosedDate"]&amp;hydrate=["State"]&amp;sort={"FormattedID":1}&amp;start=0&amp;removeUnauthorizedSnapshots=true
</code></pre>

<p>only return defects for project 12345 but none of its child projects.</p>

<p>I have also read <a href="https://stackoverflow.com/questions/15556923/lookback-api-projecthierarchy-not-scoping-down/15557600#15557600">Lookback API _ProjectHierarchy not scoping down</a>, but it says the same thing written in the doc.</p>

<p>Is there something else I am missing?</p>