rally - Query to create burndown from parent and children -
this question related question of mine: query retrieve defects parent , children have inherited code displays burndown of project. have took project , split 2 projects, there parent project , 2 children. code (below) fails create burndown, assume because cannot find stories/tasks on top-level project, , (i assume) not looking @ children project. please note - solution in link refer did not work me here (removed children: null , replaced _projecthierarchy: context.getproject().objectid,)
anyway - here's code:
storeconfig: { find: { _typehierarchy: "hierarchicalrequirement"}, fetch: ["taskestimatetotal", "taskremainingtotal", "iteration"], hydrate: ["taskestimatetotal", "taskremainingtotal", "iteration"], sort: { _validfrom: 1 }, filters: [{ property: "iteration", value: iterationrecord.get("objectid") }, { property: "_typehierarchy", value: "hierarchicalrequirement"}] },
you should able restore hierarchy adding find:
_projecthierarchy: 12345
where 12345 object id of parent project.
additionally, joel mentioned above true. in rally there concept of "like iterations", in project hierarchy there named/dated iterations each project.
so you'll have add following find clause make sure results filtered child iterations:
iteration: {$in: [23456, 34567]}
where 23456 , 34567 object id's of iterations child projects.
you can use simple rally.data.wsapi.store load "like iterations" whatever period you're interested in reporting on , grab object id's pass chart storeconfig.
Comments
Post a Comment