I need to add some customization to BurnDownApp. and I want to retrieve all User Stories for Release from 'Release Combobox' + All Users stories which linked to Portfolio Item features which linked to release.
In default implementation I can retrieve only User Stories which linked to Release:
find: {
"_TypeHierarchy": { '$in' : [ -51038] },
"Children": null
}
I tried to use this query:
find:{
$and:
[{"_TypeHierarchy": -51038, "Children": null},
{"_TypeHierarchy": { '$in' : [ -51038, -51006 ] },
"Children": null
"Feature.Release.Name": "%ReleaseName%"}]
}
but it doesn't work
How I should change query for get needed data?
Link to BurnDownApp on github: https://github.com/RallyApps/app-catalog/tree/master/src/apps/charts/burndown
Even though a WS API query
(Feature.Release.Name = "r3")
will work:This will not work in Lookback API.
This Lookback API query
"Feature":7777
will work. In this example 7777 is ObjectID of a feature:If you want to get features in the custom app dynamically based on a release combobox selection you may:
"Feature": {$in:[7777,8888,9999]}
in thefind
should work.