We have a customized workflow in TFS 2017 and want to make a field mandatory (REQUIRED) when the work item is pulled to the kanban done column (state will not change!).
As far as I know only state changes may get REQUIRED rules.
I tried this but it does not work:
<FIELD name="AcceptanceCriteria" refname="Whiteduck.Scrumban.AcceptanceCriteria" type="HTML">
<HELPTEXT>What criterias have to be fulfilled (what, how, restrictions, etc.).</HELPTEXT>
<WHEN field="System.BoardColumnDone" value="true">
<REQUIRED />
</WHEN>
</FIELD>
For state changes this had worked:
<TRANSITION from="Analyze" to="Test">
<REASONS>
<DEFAULTREASON value="Test" />
</REASONS>
<FIELDS>
...
<FIELD refname="Whiteduck.Scrumban.AcceptanceCriteria">
<REQUIRED />
</FIELD>
</FIELDS>
</TRANSITION>
Any chances to apply a rule on a kanban done pull?