Restricting the Assigned To column in TFS Work Ite

2019-07-23 18:56发布

I am trying to request a code review in TFS. The developer creates a work item and assigns to anybody in the team asking for a review.

Here, I just want to make sure none of the developers should be able to create a WI assigned to himself/herself (by creating a Task WI). It should go to only other people in the team. Is there any way I can edit the WI feature.

I know there is a field "Assigned To" . Is there any way I can edit this field to prevent to assign to the current user.

标签: tfs2010
1条回答
地球回转人心会变
2楼-- · 2019-07-23 19:23

You could use the NOTSAMEAS rule to prevent it from been the same value as the CreatedBy field (assuming that it is set as READONLY).

Example:

<NOTSAMEAS field="System.CreatedBy" />
查看更多
登录 后发表回答