Reputation: 1877
I'm using Visual Studio Team Services (http://visualstudio.com/), with Visual Studio 2012.
I'd like to add a new State Value for WorkItems. After a search I discover that i can edit the process template to achieve that. I've tried the menu item "Team\Team Project Collection Settings\Process Template manager", but i'm getting the following message:
Visual Studio could not retrieve your user permissions from Team Foundation Server.
Contact your Team Foundation Server administrator to determine the cause of the error and the steps to correct the problem.
If the problem persists, contact Microsoft Product Support Services
Details: Access Denied: [email protected] needs the following permission(s) on the resource $ to perform this action: Administer
I've added my user to every adminstrator group i've found in tfs configuration, for the project and the collection, but i keep getting that message.
How can i add a custom state to WorkItems in Visual Studio Team Services?
Upvotes: 12
Views: 58818
Reputation: 3151
Please note that the UI of VSTS has recently been changed. I'm updating my answer to reflect the latest changes but keeping an older copy too!
Update: As of 17th Oct 2018, on Team Services:
Adding a Gif below
For those who are still on the older UI , on Team Services...
Click the New State link
Hope it helps!
Thanks Microsoft for making it available!
Upvotes: 35
Reputation: 24526
This feature is not supported by Visual Studio Team Services. It seems this is causing a lot of people (including myself) problems. See here for the (planned) feature request.
I suspect the reason for your permission error is not that you haven't assigned the right permission, but rather that the permission is not available to be assigned.
Upvotes: 3
Reputation: 48
You need Team foundation Server Admin rights to execute witadmin tasks. What probably you mean by following is that you have added yourself to default collection admin/project admin.
I've added my user to every adminstrator group i've found in tfs configuration, for the project and the collection,
For that you have two options:
Upvotes: 1
Reputation: 3075
http://lajak.wordpress.com/2013/01/09/tfs-2012-versions-of-team-foundation-server/
Cons: •Can’t customize process template or workitem templates
So it is not possible to add new states on Team Foundation Services.
Nevertheless, "Team\Team Project Collection Settings\Process Template manager" just allows you to up- and download Process Templates, where you can edit the WIT XMLs. A more comfortable way is to use/install TFS PowerTools and use the WIT Editor "Tools -> Process Editor -> Work Item Types -> Open WIT from Server/File".
Upvotes: 4