Bagikan melalui


Find and Edit Work Items Assigned to You

You can find work items assigned to you by using a work item query. In addition, if your team project is configured for a project portal and dashboards are supported, you can use My Dashboard to view work items that are assigned to you. For more information, see My Dashboard (Agile) or My Dashboard (CMMI).

Required Permissions

To perform these procedures, you must be a member of the Contributors group or your View work items in this node and Edit work items in this node permissions must be set to Allow. For more information, see Team Foundation Server Permissions.

To find work items that are assigned to you

  1. Open an existing team project.

  2. In Team Explorer, click Work Items.

  3. On the Team menu, click Add Query.

    Note

    Your team project may already have a query in Team Queries that you can use to search for your work items.

  4. The first query clause contains the following values. Keep these default values.

    And/Or

    Field

    Operator

    Value

    Team Project

    =

    @Project

    And

    Work Item Type

    =

    [Any]

    And

    State

    =

    [Any]

    Keep, modify, or delete the second two clauses.

  5. Add a query clause that contains the values in the following table.

    And/Or

    Field

    Operator

    Value

    And

    Assigned To

    =

    @Me

    You can use the @Me variable to automatically search for your alias in the Assigned To field or other fields that contains user aliases. For example, you can find work items that you opened if you set the Field column to Activated By, the Operator column to =, and the Value column to @Me.

  6. On the Team menu, click Run Query.

  7. In the Query Results, select the work items that you want to view or change.

    For information about how to change several work items, see Modify Work Items within a List View.

  8. To save the query to Team Foundation, on the query toolbar, click Save Save Query, and type the name that you want for your query.

  9. Under Select the query type and save location, click Server.

  10. In the Query folder box, select the team project and folder or subfolder where you want to save your query.

    If only you will use the query, save your query in My Queries or a folder under this node.

    If other team members will use the query, save your query in Team Queries or a folder under this node.

    For more information, see Organize and Set Permissions on Work Item Queries.

  11. Click Save.

See Also

Tasks

Modify Work Items within a List View

Specify Query Filter Criteria

Save, Copy, Rename, and Delete Work Item Queries

Concepts

Query Fields, Operators, Values, and Variables

Finding Bugs, Tasks, and Other Work Items