I was collecting links & pointers to answer common questions in forums related to TFS eventing and thought of posting them as FAQ. I hope to update this post as I find new interesting information for common questions.
What is TFS evening and how it works?
Eventing is a notification mechanism when items change in team foundation server. The notification could be email or a soap call, and the filter criteria could be set in an expression. VSSDK has detailed document on its design and how it works. To view it: Download vssdk from http://msdn.microsoft.com/vstudio/extend/. In the SDK, look at “Team Foundation Eventing Service.doc” document under “VisualStudioTeamSystemIntegration\Team Foundation Core Services” folder.
How to set alerts in UI?
How to create custom subscriptions?
If alerts given in UI is not enough, custom subscriptions can be created. It can be done using
2) BisSubscribe.exe tool: This can be obtained from VSSDK under "VisualStudioTeamSystemIntegration\Utilities\Event Subscription Tool" folder, or in team foundation server installed location "<Program Files>\Microsoft Visual Studio 2005 Team Foundation Server\TF Setup"
How to create custom subscription expressions?
I subscribed, but do not get emails:
- If you are filtering by project, check the fieldname for project. It is PortfolioProject for WorkItemChangedEvent and TeamProject for other event types.
- Check email address validity. Check if outlook rules are placing mails in wrong place (I made this mistake once and wasted time trying to troubleshoot)
Getting notifications to a webservice:
Few posts that walk through how to do it and solutions for common needs
Few links on subscription: