TfsNotificationRelay icon indicating copy to clipboard operation
TfsNotificationRelay copied to clipboard

Add userName filter to WorkItem* events

Open seankearney opened this issue 10 years ago • 4 comments

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.

seankearney avatar Sep 24 '15 21:09 seankearney

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 avatar Oct 11 '15 18:10 kria

@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.

seankearney avatar Dec 16 '15 21:12 seankearney

I'm afraid to ask this late, but did you ever get this working @seankearney?

kria avatar Jul 03 '16 00:07 kria

@kria I was unable to get this working as expected.

seankearney avatar Jul 13 '16 00:07 seankearney