How to Add a Check-in Event Notification

- J.D. Meier, Jason Taylor, Alex Mackman, Prashant Bansode

Use the bissubscribe tool, available at %programfiles%\Microsoft Visual Studio 2005 Team Foundation Server\TF Setup\BisSubscribe.exe, on your TFS server to subscribe to check-in notifications.

To set up a check-in event notification
  • Open a command prompt and change to the following location:
C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\TF Setup\
  • If you want to set up an e-mail notification, use the following command:

bissubscribe /eventType CheckinEvent /address someone@domain.com /deliveryType EmailHtml /domain http://TFSRTM:8080
  • If you want to set up a Web service notification, use the following command:
bissubscribe /eventType CheckinEvent /address http://TFSRTM:8080/ci/notify.asmx /deliveryType Soap /domain http://TFSRTM:8080
  • If you get any errors or you want to confirm that you have registered correctly, do the following:
    • Open SQL Server Management Studio.
    • Open the tfsIntegration database.
    • Review the tbl_subscription table.

The tbl_subscription table lists all the events that are already subscribed. By viewing this table, you should be able to find the entry for the event to which you subscribed. You can unsubscribe any registered event by deleting the entry from the table. You can also unsubscribe an event by running bissubscribe, passing it the /unsubscribe command line parameter and the id of the event as follows:

bissubscribe /delete/id *[id]* /server http://TFSRTM:8080

Additional Resources

Last edited Jul 25, 2007 at 12:18 PM by prashantbansode, version 1

Comments

No comments yet.