Register work item changed event

Aug 13, 2008 at 3:33 PM
Edited Aug 13, 2008 at 3:45 PM
Hi
    We are using TFS 2008 dual installation and Timesheet 3.02 on different machine in same domain.

    The issue is event I register for event the timesheet database is not updated when any workitem is changed.

    In readme file step 7 shows the subscribe event as:
    BisSubscribe.exe /eventType WorkItemChangedEvent /deliveryType Soap /address http://[Domain name for the TFS server]:[Port that Team System Web Access is listening on]/Services/UpdateTimesheet.asmx /server [Machine name of the TFS server]

    In above command we use:
    [Domain name for the TFS server] = Teamplain machine name
    [Port that Team System Web Access is listening on] = 8090
    [Machine name of the TFS server] = Team Foundation Machine name

    Example - BisSubscribe.exe /eventType WorkItemChangedEvent /deliveryType Soap /address http://TEAMPLAIN:8090/Services/UpdateTimesheet.asmx /server TFS08

    I am not sure weather this command is correct? as we are not getting any updated on workitem.
    Any help is appreciated

    Sanjay

Developer
Mar 24, 2009 at 11:45 AM
You can open TfsIntegration database and information about subscriptions and its status are in subscriptions and notifications tables.
Mar 30, 2009 at 1:16 PM
Thanks for replying, marcinksiazek. This issue was resolved with rel 4.01.
This time I compile the whole code on my machine and debug first locally. 

Once satisfied, I upload/replace the live site and it worked fine.

The original 3.02 read me/help file does not mention any changes for dual installation.
So I decide to keep TSWA site as it is and mean while finish some customisation and branding.
Once I found more information on various notifications and subscription techniques, I compile and merge timesheet code with our code.

And to my expectation it worked fine.

Sanjay
Sep 28, 2010 at 2:05 PM

For TFS2010 you should use /Collection flag not /Server:

C:\Program Files\Microsoft Team Foundation Server 2010\Tools>BisSubscribe.exe /eventType WorkItemChangedEvent /deliveryType Soap /address http://srv:8080/tfs/web/Services/UpdateTimesheet.asmx /Collection http://srv:8080/tfs/MyCollection