TfsNotificationRelay
TfsNotificationRelay copied to clipboard
Add userName filter to WorkItem* events
It would be great to have a filter on specific users on any WorkItem* events.
Use case - 100 work items were included in the most recent build. When the build completes all 100 work items are updated and commented on. I want to filter those notifications out.
You could add that user to a new team and then use the teamName filter to throw away work item events from that team. Would that work?
@kria So I missed the teamName filter and I think that should work for me however it doesn't appear to.
Upon testing this, the user I want to filter is not part of the TFS team ("MyProject Team"). I added teamName="MyProject Team" to the rule, however I still get the notification for this user. Notifications for other users in the "team" are working fine. I'm unsure if I'm hitting an edge case being that the user I want to filter is the user defined to run builds and isn't a real user.
I'm afraid to ask this late, but did you ever get this working @seankearney?
@kria I was unable to get this working as expected.