Notifying users when a particular work item changes in TFS

The Goal

In TFS you can set up Project Alerts that alert users when work items change. But sometimes you would like to be able to add a list of people to be notified when a particular work item changes.

The Solution

You can achieve this by using a server-side plug-in.

Here’s a step-by-step guide:

  1. Enable SMTP settings for your TFS in TFS Admin Console (if not already done)
  2. Add a custom field to your work item types:
    Type = “string”, Reference Name = “TFS.CcNotificationReceivers”
    image
    … and display it on the Work Item form:
    image
  3. Install server-side plug-in:
    Get TFS.WorkItemTracking.CcNotifications.dll from here (for TFS 2013 only!) and copy it to the “PlugIns” folder, located at: %ProgramFiles%\Microsoft Team Foundation Server 12.0\Application Tier\Web Services\bin\Plugins
    (to uninstall, simply delete the .DLL again)
  4. Done. When you enter user names (or e-mail addresses) into the new field (separate multiple values with commas or semicolons), those users will be notified of any changes that happen to that particular work item.

image

Note: Server-side plug-ins work on TFS on-premises only (not with Visual Studio Online).

Enjoy!

–Neno

2 thoughts on “Notifying users when a particular work item changes in TFS”

  1. I’m not in any way complaining, The CcNotifications plugin worked great for me from day one. It does look like TFS 2013.2 has broken it.
    Is the source code available so I can adjust for 2013.2?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>