Organize and Set Permissions on Work Item Queries (Team Explorer Everywhere)

You can organize and share your queries and team queries by using folders and subfolders. You cannot set permissions by using the Team Foundation Server plug-in for Eclipse. You must instead use another Team Foundation client, such as Team Web Access or Team Explorer in Visual Studio. You can set permissions on queries and folders that are created under Team Queries to enable or restrict access. You can set permissions for individual users or groups in Windows or Visual Studio Team Foundation Server. For more information, see Organize and Set Permissions on Work Item Queries on the Microsoft Web site.

In the Team Foundation Server plug-in for Eclipse, you cannot copy or paste queries, folders, or subfolders. You can perform these operations in other clients for Team Foundation Server. You can open a query and can save that query under a new name or location. For more information, see Creating, Saving, and Copying Work Item Queries.

In this topic

You can perform the tasks in the following table based on the client that you are using:

Task

Team Foundation Server plug-in for Eclipse

Team Explorer in Visual Studio

Team Web Access

Creating a Query Folder or Subfolder

Yes

Yes

Yes

Moving a Query, Folder, or Subfolder

Yes

Yes

Yes

Copying a Query, Folder, or Subfolder

Yes

Yes

No

Setting or Changing Permissions on a Query or Query Folder

(For more information, see Organize and Set Permissions on Work Item Queries on the Microsoft Web site)

No

Yes

No

Required Permissions

Your Full Control permission must be set before you can add, delete, and move queries and folders under My Queries. By default, when you create a query or a folder, you are assigned as its owner and your Full Control permission is set.

You set query permissions through the Security dialog box for each query or query folder. To manage queries and folders under Team Queries, you must have the permissions in the following table to perform the associated tasks:

Query permissions

Supports these tasks

Read

View and run a query or view a query folder and its contents

Contribute

View and edit a query or a query folder and its contents

Delete

View, edit, and delete a query or a query folder and its contents

Manage Permissions

Manage permissions for a query or a query folder and its contents

Full Control

View, edit, delete, and manage permissions for a query or a query folder and its contents

To create or copy a query folder, your Read permission must be set for the query or folder that you want to copy, and your Contribute permission must be set for the destination query folder.

Creating a Query Folder or Subfolder

To create a query folder

  1. In Team Explorer, open the team project.

  2. Right-click My Queries, Team Queries, or a subfolder in either of those folders, and then click New Folder.

  3. Rename the new folder.

Moving a Query, a Folder, or a Subfolder

To move a query, a folder, or a subfolder to a different folder

  1. In Team Explorer, right-click the query, folder, or subfolder that you want to move, and then click Move.

    The Move Query Item dialog box appears.

  2. In the Move Query Item list, click the destination for the item that you want to move.

  3. (Optional) In Name, change the name of the item that you want to move.

  4. Click OK.

    The item moves to the new location, and the name of the item is optionally updated.

See Also

Tasks

Save, Copy, Rename, and Delete Work Item Queries (Team Explorer Everywhere)

Other Resources

Connect to Team Projects

Finding Bugs, Tasks, and Other Work Items (Team Explorer Everywhere)

Sharing Work Items and Queries with Team Members (Team Explorer Everywhere)

Team Queries (Agile)

Team Queries (CMMI)