Trying to customize the "Assigned To" field  
Author Message
Ron L





PostPosted: Team Foundation Server - General, Trying to customize the "Assigned To" field Top

I am trying to customize the Assigned To field for a workitem to include my QA group (as the group) so that when a bug has been fixed by a developer it can be forwarded to QA without having to pick a certain individual. I have done a fair amount of searching on these forums and it seemed that I should customize each work item's Assigned To field as follows:

<FIELD name="Assigned To" refname="System.AssignedTo" type="String" reportable="dimension">
<ALLOWEDVALUES expanditems="true">
<LISTITEM value = "Contributors" />
<LISTITEM value = "NITSS QA" />
<LISTITEM value = "Project Lead" /> -->
</ALLOWEDVALUES>
</FIELD>
Unfortunately, this just places the values "Contributors", "NITSS QA", and "Project Lead" in the pulldown. I then tried prefacing each of the groups listed in the LISTITEM tags (all of them are groups and appear in the groups list) with "NITSST\" or "[NITSST]\" where the project name is "NITSST". This caused the validator to tell me :

Warning: TF26171: User/group '[NITSST]\Contributors' is not found.
Warning: TF26171: User/group '[NITSST]\NITSS QA' is not found.
Warning: TF26171: User/group '[NITSST]\Project Lead' is not found.

Can anyone point me to what I am doing wrong here The desired result is to have each individual listed and also to have certain groups also listed.

TIA

RonL




Visual Studio Team System3  
 
 
Michael Ruminer





PostPosted: Team Foundation Server - General, Trying to customize the "Assigned To" field Top

Please try

 

<ALLOWEDVALUES expanditems="true">

   <LISTITEM value="[PROJECT]\Contributors" />
   <LISTITEM value="[PROJECT]\NITSS QA" />
   <LISTITEM value="[PROJECT]\PROJECT LEAD" />

</ALLOWEDVALUES>

 

<-- btw if you want to exlclude the groups and just have the members then also add filteritems="excludegroups" to the ALLOWEDVALUES element-->

 

This assumes that all the groups are Project groups. If they are server groups (as NITSS QA might be) then it would be [SERVER]\...

 



 
 
Ron L





PostPosted: Team Foundation Server - General, Trying to customize the "Assigned To" field Top

Michael

Thank you for your response. I have tried the following variants for specifying the groups with no success:

[NITSST]\Contributors

NITSST\Contributors

[ts03]\Contributors

ts03\contributors

Where NITSST is the project name and ts03 is the server name. Each one gives me the same "Warning: TF26171: User/group '<Group Name>' is not found." error. I am not sure if there is something I am specifying incorrectly or if there is some other issue. Any further thoughts My XML, as it currently stands, is:

<FIELD name="Assigned To" refname="System.AssignedTo" type="String" reportable="dimension">
<ALLOWEDVALUES expanditems="true">
<LISTITEM value = "[NITSST]\Contributors" />
<LISTITEM value = "[NITSST]\NITSS QA" />
<LISTITEM value = "[NITSST]\Project Lead" />
</ALLOWEDVALUES>
</FIELD>

Thanks,

Ron L



 
 
Michael Ruminer





PostPosted: Team Foundation Server - General, Trying to customize the "Assigned To" field Top

I don't think you understand. Physically type the words [PROJECT]\ - remember this template is run evertime a new project is created. At project creation time it will replace the word [PROJECT] with that team projects name.

Don't put [NITSST] etc. because the next project created with the template is not named NITSST. It should read in the XML file just like mine did.



 
 
Ron L





PostPosted: Team Foundation Server - General, Trying to customize the "Assigned To" field Top

Michael

Thank you! That was it. I had assumed that [PROJECT] needed to be replaced with my project name. Arrggh!

Thanks again.

Ron L



 
 
Michael Ruminer





PostPosted: Team Foundation Server - General, Trying to customize the "Assigned To" field Top

Glad that worked!