问题
I want to notify each team member when a work item is assigned to them. I know how to set up an alert per team member (so if there are 10 team members I set up 10 seperate alerts) but is there a way to set up a single alert that will email the person the work item is assigned to?
I have the filter complete:
"PortfolioProject" = 'MyProject' AND ("CoreFields/StringFields/Field[ReferenceName='System.AssignedTo']/OldValue" <> '@Me' AND "CoreFields/StringFields/Field[ReferenceName='System.AssignedTo']/NewValue" = '@Me')
.. but I am stuck on how to make the email address that the alert is sent to generic. Putting @Me in the "Send To:" field unsurprisingly does not work!
回答1:
Check out TFS Global Alerts which is specifically designed for this kind of thing.
回答2:
Take a look at TFS Event Handler
It appears it is in the process of being upgraded too:
TFS Event Handler for Team Foundation Server 2010
来源:https://stackoverflow.com/questions/6609976/tfs2010-set-up-an-alert-that-will-email-a-member-in-the-team-when-a-work-item-i