Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Team Foundation
 Transition Security
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Visual Studio Team System
Transition Security

All valid transitions between two states must be specified. If no transition is specified, by default no transition is allowed.

Additionally, you can optionally use the attributes for and not in the transition element of workflow to refine who is and who is not able to perform a transition. When you do this, denies takes precedence over allows. If neither of these attributes are specified, anyone can modify the work item.

Example

In the following rule, the ability to transition a work item from the Resolved to the Completed state is restricted to all project testers, except new testers who have just joined the team.

<TRANSITION from="Resolved" to="Complete" for="[project]\AllTesters" not="[project]\NewTesters">
</TRANSITION>
NoteNote

Multiple groups are supported only by creating a parent group and specifying the parent group in the TRANSITION element.

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
TF26171, TF26204      Alfred Myers   |   Edit   |   Show History
On the “for” attribute some people may think that “[project]” is a place holder for the project's name, but it is meant as a literal.
If your Team Project is named TheGreatestProjectEver, you should use "[project]\AllTesters" literally as stated above in documentation and not " TheGreatestProjectEver \AllTesters"
Using "TheGreatestProjectEver \AllTesters" will return:

“Warning: TF26171: (User/group {0} is not found.
TF26204: The account you entered is not recognized. Contact your Team Foundation Server administrator to add your account.”

Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker