Compartilhar via


Tutorial: Track a user story, bug, issue, or other work item or pull request

TFS 2017

To get notified of changes made to a specific work item or a pull request, you can choose to follow them. The Follow feature provides an improvised way of getting notified on a case-by-case basis.

If you want to subscribe to receive notifications automatically based on changes that occur based on your targeted set of criteria, see Manage personal notifications. For example, you can create a subscription to automatically get notified whenever a work item that you created or that was assigned to you is modified.

Note

Notification subscriptions allow you to personalize the notifications you receive automatically based on additional criteria you specify for yourself, a team, or a project. For example, you can create a subscription and add field criteria to receive changes based on one or more of the following templates.

Work item notification templates

This article shows you how to:

  • Follow a work item
  • Follow a pull request
  • Manage work items that you're following

Configure an SMTP server in order for team members to receive notifications.

Prerequisites

  • You must connect to a project. If you don't have a project yet, create one.
  • You must be added to a project as a member of the Contributors or Project Administrators security group. To get added, Add users to a project or team.
  • To view or follow work items, you must be granted Stakeholder access or higher. For details, see About access levels. Also, you must have your View work items in this node and Edit work items in this node permissions set to Allow. By default, the Contributors group has this permission set. To learn more, see Set permissions and access for work tracking.
  • To view or follow pull requests, you must have Basic access or higher.

Follow a work item

When you want to track the progress of a single work item, choose the follow icon. This signals the system to notify you when changes are made to the work item.

Work item form, Follow icon control

Note

The Follow a work item feature is available from TFS 2017 and later versions. The Follow a pull request feature is available from TFS 2017.1 and later versions. To update your on-premises Azure DevOps, visit the Visual Studio downloads page for Team Foundation Server.

You'll only receive notifications when other members of your team modify the work item, such as adding to the discussion, changing a field value, or adding an attachment.

Notifications are sent to your preferred email address, which you can change from your user profile

To stop following changes, choose the following icon.

Follow a pull request

To track the progress of a single pull request, choose the actions icon for the pull request, and select the Follow option. This signals the system to notify you when changes are made to the PR.

Pull Request, context menu, Follow icon option

You'll only receive notifications when other members of your team modify the PR, such as adding to the discussion or adding an attachment.

Notifications are sent to your preferred email address, which you can change from your user profile.

To stop following changes, open the PR context menu and choose the Following icon.

Manage work items that you're following

You can review and manage all the work items you've selected to follow.

Open Work>Queries and choose Followed work items.

Followed work items, Follow icon control

From this view, you can view all items you're following across all projects. Also, you can complete similar actions supported with a query results view, such as:

  • Refresh the view
  • Add or remove visible columns
  • Sort the order of specific columns
  • Filter results by text or tags
  • Set work item pane
  • Enter full screen mode.

You can also view and manage work that you're following from your Project pages. To learn more, see Work across projects.

Query work items that you're following

You can use the @Follows macro in a query to filter a list based on work items you're following along with other query filters.

For example, the following query shows how to query across all projects for active work items that you're following. You use the ID field and the In operator with the @Follows macro.

Query Editor, with ID In @Follows query clause

Try this next

Q: Can I add someone else to follow a work item or PR?

A: You can't add another team member to follow a work item or pull request at this time. You can subscribe them to get notified based on select criteria, such as when a work item is create or modified, or a pull request is created. For details, see Manage team notifications.