I setted up tfs aggregator on a TFS 2013 environment, it does work correctly on a calculated field (multiply) but there is an ergonomic issue :
Here's my aggregator.yml
<?xml version="1.0" encoding="utf-8"?>
<AggregatorItems tfsServerUrl="http://*****/tfs/Test-mg">
<AggregatorItem name="calculSeverity" operation="Multiply" linkType="Self" workItemType="Bug">
<TargetItem name="SeverityValue"/>
<SourceItem name="CriticityValue"/>
<SourceItem name="ImportanceValue"/>
</AggregatorItem>
</AggregatorItems>
When the user makes some changes then save the workItem, the value of the targetItem field isn't refreshed.
By the way, value of the TargetItem is refreshed on the second workItem save (without page refresh) but with the first result.
To make it clearer by an example :
Operation = Multiply
SourceItem1 = 10
SourceItem2 = 5
On pageLoad, SourceItem = 50 | That's correct
User modification then save :
SourceItem1 = 10
SourceItem2 = 10
TargetItem = still 50 | Should be 100
User modification then save again :
SourceItem1 = 10
SourceItem2 = 1
TargetItem = 100 | Result of the first save | Should be 10
It looks like the TargetItem field value is refreshed with delay.
What can be done ?
Thanks you.
I setted up tfs aggregator on a TFS 2013 environment, it does work correctly on a calculated field (multiply) but there is an ergonomic issue :
Here's my aggregator.yml
When the user makes some changes then save the workItem, the value of the targetItem field isn't refreshed.
By the way, value of the TargetItem is refreshed on the second workItem save (without page refresh) but with the first result.
To make it clearer by an example :
Operation = Multiply
SourceItem1 = 10
SourceItem2 = 5
On pageLoad, SourceItem = 50 | That's correct
User modification then save :
SourceItem1 = 10
SourceItem2 = 10
TargetItem = still 50 | Should be 100
User modification then save again :
SourceItem1 = 10
SourceItem2 = 1
TargetItem = 100 | Result of the first save | Should be 10
It looks like the TargetItem field value is refreshed with delay.
What can be done ?
Thanks you.