Receive an email when assigned a new TFS bug, task

2019-03-23 12:38发布

We are using TFS 2010 and Team Explorer's work item feature for Project Management.

When a work item (like a bug or task, etc) is assigned to a user, how can that person be sent an email informing them of the new item?

4条回答
We Are One
2楼-- · 2019-03-23 12:48

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.

Catlight work item notification

查看更多
仙女界的扛把子
3楼-- · 2019-03-23 12:51

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.

enter image description here

查看更多
老娘就宠你
4楼-- · 2019-03-23 12:59

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.

查看更多
对你真心纯属浪费
5楼-- · 2019-03-23 13:10

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.

查看更多
登录 后发表回答