Is it possible to setup a Team Alert / TFS Group Alert Programmatically using TFS 2015 APIs or Power Shell script? We have a requirement to create TFS Alert more then ~15 and looking for an option to create alert using api / script instead of manually.
相关问题
- Docker task in Azure devops won't accept "$(pw
- Authentication Failure using Git-LFS Azure DevOps
- Getting error: File extension specified '.webt
- “No test result files matching **/*.trx were found
- Azure Graph 403 Authorization_RequestDenied using
相关文章
- Build errors of missing packages in Visual Studio
- VSTS continuous integration triggers not working
- Close a work item via the commit message
- Increment variable value in TFS build +1
- Can't check in changes to TFS
- Running Jasmine tests on Azure DevOps as part of a
- Azure Active Directory: Add Service Principal to D
- Setup team or users permissions with VSTS REST API
As far as I know, the alerts are used for team project and team project collection level, so the alerts that you created in a team will be listed in the team project’s alerts list. For team project collection level, the alerts will be listed in all team project and team’s alerts list.
Simple code to create alert:
Note: If you don't know how to specify filter, you could create the sample alerts in web access, then check record in dbo.tbl_EventSubscription table of the collection database.