【发布时间】:2015-03-09 00:52:57
【问题描述】:
我尝试使用 TFS 聚合器来简单地汇总一个字段..
<?xml version="1.0" encoding="utf-8"?>
<AggregatorItems tfsServerUrl="[server Url]">
<AggregatorItem operationType="Numeric" operation="Sum" linkType="Self" workItemType="Task">
<TargetItem name="Total Work"/>
<SourceItem name="Total Work"/>
<SourceItem name="Completed Work"/>
</AggregatorItem>
</AggregatorItems>
现在我想做的是让总工作从零开始(所以我有一个默认规则)当有人进入(记录时间)完成工作时。它只会 +=。
但它似乎发疯了,当我刷新页面时,它总计很多次。
是因为我在 SourceItem 和 TargetItem 中都使用 Total Work
每次我刷新任务时,它都会变得越来越大。我真的只希望有人在已完成的工作中输入一个值时总计。
【问题讨论】:
标签: tfs tfs-workitem