【问题标题】:Has any one used TFS AGGREGATOR for implementing below scenarios?有没有人使用 TFS AGGREGATOR 来实现以下场景?
【发布时间】:2013-09-17 18:20:10
【问题描述】:
  1. 当任何子链接设置为 ACTIVE 父级应从“Proposed”转换为“Active”
  2. 如果任何子项在父项下处于活动状态,则父工作项不会设置为“已关闭”,除非所有子项都设置为已关闭或已解决。

【问题讨论】:

    标签: tfs codeplex tfs-workitem


    【解决方案1】:

    第一项可以通过 TFS 聚合器实现。

    这是您可以使用的示例配置:

    <!--When any Tasks are In Progress set the parent (PBI) to In Progress -->
    <AggregatorItem name="Update InProgress" operationType="String" linkType="Parent" linkLevel="1" workItemType="Task">
      <Mappings>
        <Mapping targetValue="In Progress" inclusive="Or">
          <SourceValue>In Progress</SourceValue>
        </Mapping>
      </Mappings>
      <TargetField name="State"/>
      <SourceField name="State"/>
    </AggregatorItem>
    

    对于第二项,您可以将映射更改为使用inclusive="and" 并尝试类似的方法。这不会阻止有人手动更改父工作项中的状态。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-12-12
      • 1970-01-01
      • 2021-06-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-10-28
      相关资源
      最近更新 更多