title: In wiql Is there a way to summarize completed, remaining hours etc... from all child tasks?
body: <p>I would like to create a wiql query that will return 
  FEATURE and the Sum of completed work for all tasks under all user stories that this feature has!</p>
  
  <p>I have the query below that will return </p>
  
  <ul>
  <li>FEATURE </li>
  <li>-- User Story</li>
  <li>---- Tasks</li>
  </ul>
  
  <p>But is there any way to aggregate the CompletedWork for example?</p>
  
  <pre><code>SELECT
        [System.Id],
        [System.WorkItemType],
        [System.Title],
        [System.State],
        Effort, 
        Microsoft.VSTS.Scheduling.StoryPoints,
        Microsoft.VSTS.Scheduling.OriginalEstimate,
        Microsoft.VSTS.Scheduling.RemainingWork,
        Microsoft.VSTS.Scheduling.CompletedWork
  
  FROM workitemLinks
  
  WHERE
        (
                [Source].[System.Id] = 22052
        )
        AND (
                [System.Links.LinkType] = 'System.LinkTypes.Hierarchy-Forward'
        )
  ORDER BY [System.Id]
  MODE (Recursive)
  </code></pre>