Resolve users group membership in AssignedTo on work-item-queries

前端 未结 2 502
小蘑菇
小蘑菇 2021-01-27 15:10

I assign work-items to user-groups in TFS. Lets say, I have a task assigned to the group [Devlopers]. Now I want to setup the Team Query \"My Tasks\" so that every member of [De

2条回答
  •  星月不相逢
    2021-01-27 15:38

    You can't set the field "Assigned To" to a group, TFS only support setting a valid user.

    You can change the Work Item Type definition to remove the constraint "validuser" and save any kind of text inside the field but don't expect to get groups that way.

    This is a "complaint" many made to Microsoft for years but it stays as it always have been: no group.

    You have to change the WIQ (Work Item Query) to use other fields to get the result you want. Looking at the example you gave I strongly encourage you to scope this query with the state, the area and iteration.

提交回复
热议问题