Learn to use Visual Studio, Visual Studio Online, Application Insights and Team
Foundation Server to decrease rework, increase transparency into your application and increase the rate at which
you can ship high quality software throughout the application lifecycle
We received the following e-mail from khurram:
"I am using VSTS Workgroup Edition, and want to enforce certain policies to Work Items in Project eg
- Project Administrator can update "any" work item- Only "Assigned" person can mark the work item "Resolved"- Unless "Planned Hours" or other certain field is populated work item cannot be marked "Resolved"
and so forth
Any pointers will be helpful..."
The answer is that all of these things are possible.
1. If the project administrator is a member of the Team Foundation Administrators group, or the Contributors group, then they can edit any work item. The specific permission required is Edit work items in this node. For more information, see Team Foundation Server Default Groups, Permissions, and Roles.
2. To restrict state changes in a work item to a specific user or group, you must customize the work item type. There's a great example of this in the topic Transition Security.
3. To restrict state changes based on other fields states, such as required fields, again you must customize the work item type. In the state that you define, indicate that a field is required. For example:
<STATE value="Resolved"> <FIELDS> <FIELD refname="Example.PlannedHours"> <REQUIRED />
Hope this helps,
David Chesnut [MSFT]
PingBack from http://employmentwagesblog.info/visual-studio-team-system-user-education-answer-to-an-e-mail-comment/