It's all about the answers!

Ask a question

Rest API Query to grab a list of stories for an iteration with all children task details


Andrew Ahn (1111) | asked Apr 06 '16, 7:36 p.m.
edited Apr 20 '16, 3:00 a.m. by Ralph Schoon (63.1k33645)
 Here is questions I have,

I can query a parent/story with children tasks based on guideline for a particular story (i.e. ID 998).

 https://<localhost>/ccm/rpt/repository/workitem?fields=workitem/workItem[id=998]/(id|summary|projectArea|state/(name|group)|parent/*|children/*|customAttributes/*)

 But how to query a list of stories for current iteration or a specific sprint/iteration along with all children tasks details as above using rest api? Can anyone share a rest api url?

3.      

One answer



permanent link
Donald Nong (14.5k414) | answered Apr 20 '16, 2:47 a.m.
Try this:
https://<localhost>/ccm/rpt/repository/workitem?fields=workitem/workItem[target/name="Sprint 1"]/(id|summary|projectArea|state/(name|group)|parent/*|children/*|customAttributes/*)

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.