Receive an email when assigned a new TFS bug, task, or other work item

谁说胖子不能爱 提交于 2019-12-03 09:45:45

Try out the Power Tools. I believe the Power Tools allows you to manage some email functionality http://msdn.microsoft.com/en-us/vstudio/bb980963. When I used TFS project management the Power Tools helped get me a bunch of stuff I needed. I think it would be in the Alert Explorer.

After installing TFS Power Tools, you have to create a Custom Alert.

  • In Team Explorer,Right click on Team Project Collection Root and select the Alerts Explorer.

  • The Alerts Explorer opens. From the Alerts Explorer toolbar, click New. It will open the New Alert dialog.Expand the type of alert that you want to create to view the selection of pre-built templates. Click the alert template that matches your notification requirements, or click [Blank Alert].

  • In the Alert Definition section, rename the alert and define your custom expression. For example, you can modify the expression to receive an e-mail notification any time project director creates or updates work items or a Work Item is assigned to you.

Jehan33 provided a great answer, but it doesn't address a common theme of a lot of people asking this question. The Alerts Explorer lets you set up alerts for a particular user, but not a generic notification that will apply to all users. I imagine it's common to want a global setting to notify the user that a work item is assigned to when someone other than himself alters the work item. If you want to do this, you have the option of using a plugin, either writing one yourself or there are a few on codeplex.

For example: http://teamalert.codeplex.com/

Also, writing a plugin of your own is not as bad as it sounds, and you can find some pretty good resources. You'd mostly likely want a plugin that subscribes to the WorkItemChangedEvent that would check who is changing the WorkItem and what they're changing to determine if you want to send a notification. At that point you can grab an email address from Active Directory and send your email if desired.

For a long time, email alerts was the only option to learn about TFS changes.

Now, you can also consider using CatLight status notifier.

It will show toast notifications directly on the desktop when a new work item matches the query.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!