0

How can I implement cumulative automatically hours in completed work field? I tried to use Aggregator plugin but it not working for me. I need to sum all change in remaining work.

I used Agile template, VS 2013 and TFS 2013.4

 <!--Sum all remaining work -->
<AggregatorItem operationType="Numeric" operation="Sum" linkType="Self" linkLevel="1" workItemType="Task">
    <TargetItem name="CompletedWork"/>
    <SourceItem name="RemainingWork"/>
</AggregatorItem>

Can you help me?

Dylan Smith
  • 22,069
  • 2
  • 47
  • 62

1 Answers1

0

If you're using the Scrum Process Template I don't think you have enough data to calculate this. The Remaining Work field is not a good option to try to capture this. I may start the day with Remaining Work = 8, work 6 hours on the item, but at the end of the day recognize that there is still 4 hours of work left (it was bigger than originally estimated). In that case the remaining work would only decrease by 4 even though I worked 6 hours.

If you need to capture actual work completed, you should be using a separate field on the Work Items. Both the Agile and CMMI process templates have fields for this. If you stick with the Scrum template I'd suggest adding a Completed Work field in addition to the Remaining Work field.

Dylan Smith
  • 22,069
  • 2
  • 47
  • 62