We made a few fields in bugs required before allowing to resolve. However, when a developer tries to resolve with a checkin and those fields are not filled in, it still allows the checkin to occur w/out associating that bug - is there a way to NOT allow the checkin to occur so the developer fixes it, and the bug can be associated with it properly? here is the full message:
Failed to update the following work item:
ID 9073. Reason: TF237124: Work Item is not ready to save Changeset 548 successfully checked in.
Here is pertinent info from work item type definition:
<STATE value="Resolved">
<FIELDS>
<FIELD refname="Microsoft.VSTS.CMMI.ProposedFix">
<ALLOWEXISTINGVALUE />
<REQUIRED />
</FIELD>
<FIELD refname="Microsoft.VSTS.CMMI.RootCause">
<ALLOWEXISTINGVALUE />
<PROHIBITEDVALUES expanditems="true">
<LISTITEM value="Unknown" />
</PROHIBITEDVALUES>
</FIELD>
</FIELDS>
...
</STATE>