How to subscribe to Tfs alerts for new workitems only

Published 01 February 06 11:58 AM | psheill 

 

If you want to get notified for all new workitems, regardless of who they get assigned to, you will want a custom subscription.  Here is an example of how to create one with the BisSubscribe tool that is on the server.  There is a ChangeType with each WorkItemChangedEvent, set to either "Change" or "New".  In the filter expression below, only new changes will generate emails.

 

BisSubscribe.exe /userId <domain\username> /eventType WorkItemChangedEvent /deliveryType EmailHtml /domain <server name> /address <email address> /filter "PortfolioProject = '<project>' AND ChangeType = 'New' "

<domain\username> - user getting the notification
<server name> - your server
<email address> - full email address to receive the notification
<project> - project title of interest

Note, if you are using a build later that Beta3, the syntax should be modified slightly to the following:

BisSubscribe.exe /eventType WorkItemChangedEvent /deliveryType EmailHtml /server <server name> /address <email address> /filter "PortfolioProject = '<project>' AND ChangeType = 'New' "

Where there is no "/userId" and "/server" replaces "/domain"

Comments

# Team System News said on February 2, 2006 9:44 AM:
John Lawrence alerts us to a possible error when upgrading to Team Foundation RC.

Martin Woodward...
# Asim Imam said on March 16, 2006 6:37 PM:
Once a subscription is created using the BisSubscribe tool for an event, how would that particular subscription be unsubscribed? Is there a tool for doing that cleanly?
# Howard van Rooijen's Blog said on April 29, 2006 6:45 PM:
Team Foundation Server offers some extensibility through event notifications these can either be in the...
# Naren's Blog said on July 26, 2006 4:53 PM:
When&amp;nbsp;I was&amp;nbsp;going over&amp;nbsp;past forum questions, I&amp;nbsp;saw that many were having trouble creating...
# B³: Beto Borbolla Blog said on July 27, 2006 12:33 AM:
Un poco de antecedentes:
Uno de los mecanismos m&#225;s eficientes para la colaboraci&#243;n que incluye Team...
# Buck Hodges said on October 7, 2006 10:14 PM:

On internal mailing list, the following questions came up regarding the auto-generated check-in mails

# Ozzie Rules Blogging said on December 11, 2006 4:13 AM:

I received some questions from a local and very sophisticated development shop asking about Team Foundation

# Mike's Blog said on December 12, 2006 4:20 PM:

This is the second article about Ten Must-Have Tools Every TFS User Should Download Now. This article

# It's Way Too Early For This said on December 13, 2006 11:33 AM:

This is the second article about Ten Must-Have Tools Every TFS User Should Download Now. Part I discusses

# Archi said on December 25, 2006 4:30 AM:

Some FAQs that I collected while navigating lots of sites that a lot of people do ask about TFS that...

# Naren's Blog said on April 2, 2007 12:29 PM:

When I was going over past forum questions, I saw that many were having trouble creating filter expressions

New Comments to this post are disabled

Search

This Blog

Syndication

Page view tracker