This project is read-only.

Code review request requirement

Feb 25, 2014 at 11:04 AM
Hi,

first of all thanks for sharing the plugin - was exactly what I was needed in my company to ensure the check in policy. Was able to successfully recompile it against TFS 2013 dll's and deploy.

I have however one problem with the custom requirement for work item that i have wrote to ensure that every checkin will have an code review request:
<RequiredWorkItems name="Code review request requirement" 
workItemQuery="SELECT [System.Id] FROM WorkItems WHERE [System.WorkItemType] IN GROUP 'Code Review Request Category' AND [System.Id] IN @AssociatedWorkItems" 
workInProgressLimit="1" 
checkIterationDates="false" message="Associate this check-in with a single code review request."/>
Every checkin, with associated code review request, never pass this rule.

Can somebody help me please with this please?
Developer
Jul 30, 2014 at 1:33 PM
The only fault I could find is the following:
checkIterationDates="false"
should be in the parent tag, for example:
<RequiredWorkItemsPolicy enabled="true" checkIterationDates="false">
After I did that, it worked.