当分配新的 TFS bug、任务或其他工作项时收到电子邮件
我们正在使用 TFS 2010 和 Team Explorer 的工作项功能进行项目管理。
当工作项目(如错误或任务等)分配给用户时,如何向该人发送电子邮件通知他们新项目?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
安装 TFS Power Tools 后,您必须创建自定义警报。
在团队资源管理器中,右键单击“团队项目集合根”并选择“警报资源管理器”。
警报资源管理器打开。在警报资源管理器工具栏中,单击新建。它将打开“新建警报”对话框。展开您要创建的警报类型以查看预构建模板的选择。单击符合您的通知要求的警报模板,或单击[空白警报]。
在“警报定义”部分中,重命名警报并定义自定义表达式。例如,您可以修改表达式,以便在项目主管创建或更新工作项或将工作项分配给您时接收电子邮件通知。
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.
尝试一下电动工具。我相信 Power Tools 允许您管理一些电子邮件功能 http://msdn.microsoft.com/en-us/ vstudio/bb980963。当我使用 TFS 项目管理时,Power Tools 帮助我获得了很多我需要的东西。我认为它会在警报资源管理器中。
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.
Jehan33 提供了一个很好的答案,但它没有解决很多人问这个问题的共同主题。警报资源管理器允许您为特定用户设置警报,但不能设置适用于所有用户的通用通知。我想,当用户自己之外的其他人更改工作项时,通常需要一个全局设置来通知用户该工作项已分配给该用户。如果您想这样做,您可以选择使用插件,可以自己编写一个插件,也可以在 codeplex 上找到一些插件。
例如: http://teamalert.codeplex.com/
另外,编写自己的插件并不像尽管听起来很糟糕,但您可以找到一些相当好的资源。您很可能需要一个订阅 WorkItemChangedEvent 的插件,该插件将检查谁正在更改 WorkItem 以及他们正在更改的内容,以确定您是否要发送通知。此时,您可以从 Active Directory 获取电子邮件地址并根据需要发送电子邮件。
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.
长期以来,电子邮件警报是了解 TFS 更改的唯一选择。
现在,您还可以考虑使用 CatLight 状态通知程序。
当新工作项与查询匹配时,它将直接在桌面上显示 Toast 通知。
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.