Restricting an Assigned To column in a TFS work item from the same as Creator

I am trying to request code verification in TFS. The developer creates a work item and appoints someone on the team requesting a review.

Here I just want to make sure that none of the developers can create a WI assigned to themselves (by creating a WI task). He should go only to other people in the team. Is there any way to edit the WI function.

I know that there is a field "Assigned". Is there a way to change this field to prevent the current user from being assigned.

+2
source share
1 answer

You can use the NOTSAMEAS rule to exclude it from the same value as the CreatedBy field (provided that it is set to READONLY ).

Example:

 <NOTSAMEAS field="System.CreatedBy" /> 
+3
source

Source: https://habr.com/ru/post/1203328/


All Articles