The previous query was returning Workitems from all Projects, don't know how to restrict it to a project.
Anyway, I've gone ahead with this query, rooted on Scope (project). The only problem is that it takes solid 20secs to run. Any pointers on how to make it run faster? Also, I've to manually rollup the ToDo sum for a given day.
from: Scope
select:
- from: Workitems:PrimaryWorkitem
select:
- Children.ToDo.@Sum
where:
Timebox.Name: My Sprint Name
where:
Name: My Project Name
asof: 2014-01-30
---
from: Scope
select:
- from: Workitems:PrimaryWorkitem
select:
- Children.ToDo.@Sum
where:
Timebox.Name: My Sprint Name
where:
Name: My Project Name
asof: 2014-01-31
---
.....