Allow Notification Rules to be Created by Administrators
Today in order to create notifications, I have to create one per user under my user account. There is no way to create a rule for notifications, such as when a work item gets changed, notify the assigned to user, no matter who that user is. Today we have to create a rule like this for every user. And, this rule is not shared, so if another admin wants to tweak the rule, he can't because its under my account.
For our TFS we are using nice script that creates an automatic subscription on work item changes for every active user in project collection. Of course, would be nice to integrate this into TFS as a standart feature for admins.
delete from dbo.tbl_EventSubscription where EventType = 'WorkItemChangedEvent' and DeliveryType=0
and Classification in ( 'AutoGenerated:WorkItemChangedEvent', 'AutoGenerated-Fallback:WorkItemChangedEvent' )
INSERT INTO [dbo].[tbl_EventSubscription]
,'("CoreFields/StringFields/Field[ReferenceName=''System.AssignedTo.$SID'']/OldValue" = '''
+ ''' OR "CoreFields/StringFields/Field[ReferenceName=''System.AssignedTo.$SID'']/NewValue" = '''
+ ''') AND "CoreFields/StringFields/Field[ReferenceName=''System.AuthorizedAs'']/NewValue" <> '''
WHERE fDeleted = 0 and ObjectCategory in (2,3)
select * from dbo.tbl_EventSubscription
Couldn't agree more. Ms is king of pushing policies out to all users. TFS has no ability to do this.