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

痴心易碎 提交于 2019-12-09 07:53:54

问题


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?


回答1:


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.




回答2:


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.




回答3:


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.




回答4:


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.



来源:https://stackoverflow.com/questions/5362122/receive-an-email-when-assigned-a-new-tfs-bug-task-or-other-work-item

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