Martin Hinshelwood's Blog

A Scottish dyslexic software developer: Team System MVP, .NET architect, developer, evangelist, technology enthusiast and multi-dimensional free thinker
posts - 322, comments - 385, trackbacks - 67

My Links

News

Get illustrations like mine

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Get Microsoft Silverlight

Subscribe

Personal

Accreditation

Stats

Twitter












Tag Cloud

Article Categories

Archives

Post Categories

Image Galleries

Blogs I read

Blogs of Friends

Multi-Dimentional Free Thinking Bloggers

Personal

Projects

VSTS

TFS Event Handler v1.3 released

Updated and improved for Team System 2008.

vsts_thumb[2]

http://www.codeplex.com/TFSEventHandler

The TFS Event Handler makes it easier to notify users of changes to Work Items in Team Foundation Server. You will no longer need to add individual alerts to users.

It is developed in .NET 3.5 SP1 for Team Foundation Server 2008 and is deployed as a system service.

I have added support for groups. If you add a TFS group into the Assigned To drop down all members of that group will receive notifications! 

You will need to allow groups in your Assigned to list. Below is a snippet from me Bug work item type as it stands at the moment.

   1: <FIELD reportable="dimension" type="String" name="Assigned To" refname="System.AssignedTo">
   2:     <HELPTEXT>The person assigned to act on the bug, either to fix it or to verify the fix</HELPTEXT>
   3:     <ALLOWEXISTINGVALUE />
   4:     <ALLOWEDVALUES filteritems="excludegroups">
   5:         <LISTITEM value="[project]\Contributors" />
   6:     </ALLOWEDVALUES>
   7: </FIELD>

You can see on line 4 that there is a filter for excluding the groups from the list. If you are using TFS Event Handler v1.0 or v1.1 then you will need this line. If you install the new TFS Event Handler v1.3 then you will be able to remove that and start assigning work items to Groups.

Note: Although they will now get an email, the work item will not appear in their “My Work items” query. You may want to consider creating a Query for each Group.

The Alerts that you no longer need users to individually setup are:

  • A work item is assigned to you, or a group you are a member of.
  • A work item that is assigned to you, or a group you are a member of is, reassigned to someone else.
  • A work item that you created is assigned to someone else, or a group.

There is also a framework for creating and deploying your own event handlers that can do pretty much whatever you want. One of the shipped examples updates “Heat ITSM” whenever a work item that contains a Heat Id is changed.

Print | posted on Tuesday, December 02, 2008 11:08 AM | Filed Under [ Team System Team System: TFS Event Handler ]

Feedback

Gravatar

# re: TFS Event Handler v1.3 released

Very cool to see this new release. I'm hoping to give it a whirl this morning.
12/10/2008 2:19 PM | Ian Ceicys
Gravatar

# re: TFS Event Handler v1.3 released

I've been trying out the new 1.3 release. But I can't seem to get the email notifications to use team web access.

What am I doing wrong?
I have this replacement in the Hinshelwood.TFSEventHandler.exe.config

<Replace eventType="WorkItemChangedEvent" old=":8080/WorkItemTracking/WorkItem.aspx?artifactMoniker=" new="/workitem.aspx?id=" />

The link now bombs out. Help!
12/10/2008 8:37 PM | Ian Ceicys
Gravatar

# re: TFS Event Handler v1.3 released

Is your url for TSWA the same as your TFS Server?

You may hav to use:

&lt;Replace eventType="WorkItemChangedEvent" old="servername.domain.com:8080/WorkItemTracking/WorkItem.aspx?artifactMoniker=" new="tswa.domain.com/workitem.aspx?id=" /&gt;

And can you please define "bombs out" please.. maybe a screenshot
12/10/2008 9:37 PM | Martin Hinshelwood

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 8 and 7 and type the answer here:

Powered by: