Edit other users' alerts for a project in TFS

前端 未结 6 468
悲&欢浪女
悲&欢浪女 2020-12-30 01:19

I am unexpectedly taking over for the previous administrator of our TFS system who left the company rather abruptly. I was made an admin of TFS and on the TFS application s

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-30 01:37

    I agree with Martin about not editing the database directly, but this query might help with his 1st step (finding the id of the event that you want to unsubscribe from):

    SELECT 
    ES.Id, 
    U.display_name, 
    ES.*
      FROM [Tfs_iSystems].[dbo].[tbl_EventSubscription] ES
     INNER JOIN [Tfs_Configuration].dbo.tbl_security_identity_cache U
     ON ES.SubscriberId = U.tf_id
    

    I found using the XML produced by the webservice cumbersome to work with. Once you have the Id you need I'd recommend unsubscribing by using the webservice:

    http://localhost:8080/tfs/DefaultCollection/Services/V1.0/EventService.asmx?op=UnsubscribeEvent

    Note this is for TFS2010

提交回复
热议问题