Click here to Skip to main content
15,885,435 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created new Work Item Type in TFS "Test".

in this work item i have a field "Status" and this "Status" field has following options
"Open", "Close", "Approve" and "Reject".

I have below queries regarding this :

1. I want to restrict Developers to set the status Approve and Reject.

Only managers, tech lead and team lead can set this Approve and Reject Status.

2. same query as above only change is that i want to restrict some specific user.

So how can i achieve this ?
Posted
Updated 13-Aug-13 1:30am
v2
Comments
virusstorm 13-Aug-13 15:24pm    
TFS is highly customizable, but it isn't that good. :)
Your only option is to implement a service that watches your work items and if someone changes an item to status they shouldn't, it will switch it back. This isn't an easy task, but it is doable.
CodeBlack 14-Aug-13 0:09am    
This is what we have currently implemented. We have created plugin for TFS. But i think this is not good option that once status changed to the requested one and then changing it back to the original one. :) that is why i want to do it from the workflow rule set :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900