I am connected to a TFS server, and when I create a work item (Bug, Task, etc.), the "Assign To" shows WAY too many users. I cannot find a way to limit the users shown that will affect anyone else who connects to the server.
For example, I have under the "Assign To" dropdown:
Administrator
LOCALE SERVICE
User 1
User 2
User 3
User 4
User 5
I want the "Assign To" dropdown to only show:
User 1
User 3
User 5
How would I do this, so that it changes on the server, and if anyone new connects to the server, they can only see the three users on the "Assign To" dropdown?
So after looking at a few keywords from hems I got some good google results.
The first thing you need to do is go into visual studio, and select team menu and from there go to collection settings. You will see process template and from there you can download one you have.
After you download it you can then modify any settings you want. When you are done, go to the same menu and this time click upload.
That is all it takes, but note you can only select this new one on project creation.
See my answer here for 2012, it may be similar: Visual Studio - Don't display all domain users in "Assign To" field
Here's what you should do:
Download the Work Item Type definition that you want to modify (e.g. Bug, Task):
witadmin exportwitd /collection:collectionurl /p:project /n:typename [/f:filename]
This will give you the WIT's definition, in XML format.
<FIELD name="Assigned To" refname="System.AssignedTo" type="String" syncnamechanges="true" reportable="dimension">
<HELPTEXT>The person currently working on this bug</HELPTEXT>
<ALLOWEXISTINGVALUE />
<ALLOWEDVALUES expanditems="true" filteritems="excludegroups">
<!-- Below is a TFS group. Note you actually type "[project]" verbatim -->
<LISTITEM value="[project]\Contributors" />
<!-- Below is an AD group. The name and group are examples only -->
<LISTITEM value="MYDOMAIN\Developers" /> </ALLOWEDVALUES>
</FIELD>
Importing your changes:
witadmin importwitd /collection:collectionurl /p:project /f:filename
That's it. Your work item type is now limited to the people you want.
After installing TFS power tools for Visual Studio.
Tools
-->Process Editor
-->Work Item Types
-->Open WIT (WorkItem) Type from Server
.Assigned To
field and Click onRules Tab
Then save the Workitem by selection save in Visual Studio.
Hope this works.
You can:
1) go here https://teamprojectmanager.codeplex.com/releases and download the latest Team Project Manager;
2) launch it (an *.exe file in the archive);
3) connect it to your project;
4) go to "work item configuration" on the right;
5) then to "work item types";
6) select your item type (Product Backlog Item for instance), click "edit";
7) do what Assaf Stone suggested above, in my case it was just replacing
with
8) save your changes;
That's it! BTW, the tool can come in handy for some other customizations as well.
Create a seperate group under the collection and add the users. Open the Process template Add a rule to assigned to field Assigned to "Valid User" and select the Group which you created.