Conditions on Product Backlog Item

Mar 3, 2015 at 7:25 AM
I want to be able to update my PBIs with state New to state Approved when the field Iteration Priority equals 1.
This is my xml:
<AggregatorItem operationType="String" linkType="Self" workItemType="Product Backlog Item">
<TargetField name="State"/>
<SourceField name="State"/>
<Mappings>
  <Mapping targetValue="Approved" inclusive="Or">
    <SourceValue>New</SourceValue>
  </Mapping>
</Mappings>
<Conditions>
  <Condition leftValue="Iteration Priority" operator="EqualTo" rightField="1" />
</Conditions>
</AggregatorItem>

Am I missing something.
Sep 23, 2015 at 2:49 PM
You probably need to change LeftValue into leftField and rightField into rightValue. Or swap the values assigned to these attributes.

Right now it's looking for a field named "1".