Set work tracking permissions
TFS 2017 | TFS 2015 | TFS 2013
You grant or restrict access to various work tracking features by granting users or groups specific permissions for an object, project, or collection. Or, you can specify custom rules for a process or project that apply to users or groups which may restrict or require users to perform a select action. In general, you'll want to add users to a project's Contributors group to provide access to most features as listed in Permissions and access for work tracking.
Support business workflows through custom rules
Custom rules don't set permissions, but do impact the effective permissions of a user at run-time to modify a work item or set the value of a work item field. Azure Boards supports the following work tracking customizations that support business workflows.
- Apply select rules upon work item creation, state change, specified state.
- Apply select rules when a field value is empty,set to a specific value, or was changed or not changed to a value.
- Restrict the transition to a specific state when moving from a specified state.
- Apply select rules based on user or group membership of the user modifying a work item.
Common actions set by rules include:
- Make a field required or read-only
- Clear or set the value of a field, or copy a field value to another field
- Hide a field.
For example, you can specify rules that effectively restrict a group of users from performing the following tasks:
- Creating a work item
- Transitioning a work item to a closed or completed state
- Changing the value of a field.
Or, perform the following automations:
- Reassign a work item based on state change
- State transitions of parent work items based on state changes made to their child work items.
Some restrictions are placed on applying custom rules to system fields. For example, you can't specify rules that set or clear the value for Area Path or Iteration Path as these are system fields. To learn more about custom rules you can define and system field restrictions on custom rules, see Rules and rule evaluation. For sample scenarios that define custom rules, see Sample rule scenarios.
Work tracking roles and permission levels
The following table summarizes the different permissions you can set at the object, project, or collection level. The team administrator role provides access to add and modify team resources.
Role or permission level
Functional areas set
Team administrator role
To add a user to the team administrator role, see Add a team administrator.
Project collection-level permissions
- Edit collection level permissions
Project collection-level permissions include all permissions you can set at the collection-level.
Create child nodes, modify work items under an area or iteration path
Area path permissions let you grant or restrict access to edit or modify work items, test cases, or test plans assigned to those areas. You can restrict access to users or groups. You can also set permissions for who can add or modify areas or iterations for the project.
If you haven't defined the group yet whose permissions you want to set, then first create the group, usually at the project level. To learn how, see Add or remove users or groups, manage security groups.
From the web portal for the project, choose the gear icon.
If you're currently working from a team context, then hover over the and choose Project settings.
Choose Work and then Areas.
Choose the ... context menu for the node you want to manage and select Security.
Set permissions on queries or query folders
You can specify who can add or edit query folders or queries at the object-level. To manage permissions for a query or query folder, you must be the creator of the query or folder, a member of the Project Administrators or Project Collection Administrators group, or granted explicit access through the object's Security dialog.
Query folder Permissions dialog
For details, see Set permissions on a shared query or query folder. To learn more about queries, see Create managed queries to list, update, or chart work items.
Set permissions on work item tags
By default, all users of the Contributors group can create and add tags to work items. To set permissions for a group or user to restrict this ability, you can set the Create tag definition to Deny at the project-level. To learn how, see Change the permission level for a project-level group.
Edit or manage permissions for Delivery Plans
Delivery Plans are an object within a project. You manage plan permissions for each plan similar to the way you manage permissions for shared queries or query folders. The creator of a Delivery Plan as well as all members of the Project Collection Administrators and Project Administrators groups have permissions to edit, manage, and delete plans.
Delivery Plan Permissions dialog
Manage test plans and test suites
In addition to the project-level permissions set in the previous section, team members need permissions to manage test artifacts which are set for an area path.
Open the Security page for area paths and choose the user or group you want to grant permissions.
Set the permissions for Manage test plans and Manage test suites to Allow.
To have full access to the Test feature set, your access level must be set to Basic + Test Plans. Users with Basic access and with permissions to permanently delete work items and manage test artifacts can only delete orphaned test cases.