Email notification per folder per user
Hello!
Is there anyway we can restrain the email notifications for only certain folders in the Team Project?
Also, not the every member of the development team checkin but just a particular developer checkin should instigate these email notifications.
Thanks!
[292 byte] By [
sunny123] at [2007-12-24]
I tried the bisubscribe event for filtering through the folder level. Although the command does show that the new event has been created, I don't get any email alerts.
This is the command I used:
Bissubscribe /eventType CheckinEvent /address <myemailaddress> /deliveryType EmailHtml /server vstfdev /filter "'Artifacts/Artifact[starts-with<@ServerItem, "$TP/folder1/folder2")] <> NULL'"
I ensured that my smtp server is the right one.
I was not able to filter it by user though.
Please assist!
It looks like you may be missing a '/' in your server path. Server paths take the form "$/TeamProject/folder/folder" rather than "$TeamProject/folder/folder".
Hope this helps-
Cheers,
Adam
I'm sorry Adam, but that doesn't resolve my issue.
It's actually:
Bissubscribe /eventType CheckinEvent /address <myemailaddress> /deliveryType EmailHtml /server vstfdev /filter "'Artifacts/Artifact[starts-with<@ServerItem, "$/TP/folder1/folder2")]' <> NULL"
I did subscribe with / sign, I mistyped it when posting on the forum. Any other ideas?
Are there any errors in the event logs related to event notification from TFS? If so, you may want to check the online documentation on configuring an SMTP server and e-mail notification settings here.
Best of luck-
Cheers,
Adam
The event log has errors related to Team Foundation Error Reporting, but not event notification.
The SMTP server settings have also been verified.
If I modify the checkin event on the client side by going to Project Alerts-->Anything Checked In, I get email notifications for any checkins in the entire Team Project.
Here's the command line that I used to configure an email notification for a path. I've changed the email address (someone@microsoft.com), the server name (http://MyVstfat01:8080), and the path ($/TeamProject/A) from their original values, but it's otherwise what I've used to create a successful subscription.
Give this a shot.
Bissubscribe /eventType CheckinEvent /address someone@domain.com /deliveryType EmailHtml /server http://MyVstfat01:8080 /filter "'Artifacts/Artifact[starts-with(@ServerItem, \"$/TeamProject/A\")]' <> null"
Regarding filtering by particular devs, you'll want to filter by Owner for that. I didn't test filtering by Owner, so I won't claim that it's exactly correct (I may not have gotten the quoting right).
Bissubscribe /eventType CheckinEvent /address someone@domain.com /deliveryType EmailHtml /server http://MyVstfat01:8080 /filter "'Artifacts/Artifact[starts-with(@ServerItem, \"$/TeamProject/A\")]' <> null AND 'Owner' <> 'SomeDomain\SomeUser'"
Buck
Hi Buck!
Still having trouble getting email alerts.
The command:
Bissubscribe /eventType CheckinEvent /address someone@domain.com /deliveryType EmailHtml /server http://MyVstfat01:8080 /filter "'Artifacts/Artifact[starts-with(@ServerItem, \"$/TeamProject/A\")]' <> null" gives an error
TF50003: Unrecognized command-line argument: <>
TF50003: Unrecognized command-line argument: NULL
Failed to subscribe event: TF50304: There is a syntax error in the subscription condition. Check the syntax..
However, when I tried
Bissubscribe /eventType CheckinEvent /address someone@domain.com /deliveryType EmailHtml /server http://MyVstfat01:8080 /filter "'Artifacts/Artifact[starts-with(@ServerItem, "$/TeamProject/A\")]' <> null"
The subscription was created successfully. But, checkin event didn't send out an email.
Hi sunny:
It seems that we have tried everything we thought of so if possible can you contact tech support and see if they can help you. Mention or reference this thread so they can contact us and we can then work to troubleshoot your setup.
thanks, mario