This is the code <FIELD name="Project" refname="Company.Common.Module" type="String" reportable="dimension"> <ALLOWEXISTINGVALUE /> <FROZEN /> <WHEN field="Company.Common.Unit" value="Unit-1"> <ALLOWEDVALUES> <LISTITEM value="Module-1" /> <LISTITEM value="Module-2" /> <LISTITEM value="Module-3" /> </ALLOWEDVALUES> <COPY from="value" value="Module-1" /> </WHEN> <WHEN field="Company.Common.Unit" value="Unit-2"> <ALLOWEDVALUES> <LISTITEM value="Module-1" /> <LISTITEM value="Module-2" /> <LISTITEM value="Module-3" /> </ALLOWEDVALUES> <COPY from="value" value="Module-2" /> </WHEN> </FIELD>
Create a few workitems and make sure the module field is set through the copy rule. Select these work items from the result view (e.g.:All Workitems query) and right-click "Open selection in MS Excel". In MS Excel clear the module field for all workitems and publish the changes to TFS. In MS Excel set the module field for all workitems to "Module-3" and publish the changes to TFS. This results in the 'conflict'-dialog.
If you refresh the workitems in MS Excel and only change one of them to the new value then this conflict does not occur.
|