Rule only for PBI

Dec 13, 2012 at 11:50 PM

Even if Parent-Child applies to both PBI-Task and Bug-Task, I would like to run below rule only on PBI-Task. Is it possible?

<AggregatorItem operationType="String" linkType="Parent" linkLevel="1" workItemType="Task">
    <Mappings>     
      <Mapping targetValue="Done" inclusive="And">
        <SourceValue>Removed</SourceValue>
        <SourceValue>Done</SourceValue>
      </Mapping>
    </Mappings>
    <Conditions>
      <Condition leftField="State" operator="NotEqualTo" rightValue="Removed"/>
    </Conditions>
    <TargetItem name="State"/>
    <SourceItem name="State"/>
  </AggregatorItem>

Coordinator
Dec 13, 2012 at 11:52 PM

If you are using the latest, then you should be able to add the following to your Aggregator Item:

    parentWorkItemTypes="Bug;Product Backlog Item"

Dec 14, 2012 at 12:10 AM

 

This is great news. Thanks for quick response.