This error usually occurs when rule validation fails. Few example, this could happen when setting values for readonly fields such as "changed by", "changed date" etc, or a certain value is not valid because of conflicting rules. So it could take a while to troubleshoot.
Below is my quick guess seeing the xml and seeing the problem details. I might be wrong (i haven't verified below), but you can play with it by removing/changing rules:
Below two rules seem to be conflicting:
<FIELD name="Resolved By" refname="Microsoft.VSTS.Common.ResolvedBy" type="String" reportable="dimension"> <WHENNOTCHANGED field="System.State"> <READONLY /> </WHENNOTCHANGED> </FIELD>
and
<STATE value="Resolved">
<FIELD refname="Microsoft.VSTS.Common.ResolvedBy"> <COPY from="currentuser" /> <VALIDUSER /> </FIELD> </FIELDS> </STATE>
1st rule seems to say "allow change to ResolvedBy only if state also changes", and 2nd rule seems to say "change ResolvedBy everytime when in Resolved state".
http://blogs.msdn.com/narend |