subscribe to events in tfs extension using VSS SDK - tfs

Im developing a TFS Extension using VSS SDK and Angular.
I would like to subscribe to events that occurred in the TFS so it will trigger a function in my extension.
for example, I would like to listen to update of specific work item and perform an action in my extension when that event is happened.
Thanks for helping!

Related

TFS 2010 - How to associate a bug with a Build

I'm working in a project and I'm trying to optimize testing process so, when I execute a test case and I found a bug, I would like to associate this bug to the current build.
The builds are created automatically but when I try to select the built in the droplist there are not builds to select, so... How can I do it to get all the builds that I've made automatically?
Maybe is there any issue with Global List?
Im using VS 2010 and I have installed TFS 2010 Power Tools.
Thanks in advance!!
The global list is normally updated by an event subscription on the server that handles the BuildCompleted event. On your TFS server, there should be an executable named BisSubscribe.exe. You can use that to verify or fix the subscription. For more details, check out Jason Prickett's blog post on How to filter the Build Completion Event.

commit monitor for tfs

Does anyone know of a tool like CommitMonitor (http://tools.tortoisesvn.net/CommitMonitor) that can be used with TFS.
A built-in solution can be to use Team System Web Access (even if it's not exactly the same functionality as CommitMonitor, you can make a bookmark to the page showing the last commits) : http://msmvps.com/blogs/vstsblog/archive/2007/08/27/free-add-on-team-system-web-access-tswa-power-tool-by-microsoft.aspx
Or you can use TFS events service built you own monitor :
http://blogs.msdn.com/b/vishalag/archive/2006/11/13/subscribe-to-team-foundation-server-tfs-event-workitemchangedevent.aspx
Or you can just configure TFS Power Tools to send you an email after each commit (using TFS Alerts also provided with TFS events service).
[EDIT] You can also look at these kind of TFS Dashboard : http://weblogs.asp.net/guybarrette/archive/2009/09/09/tfs-work-item-manager-amp-tfs-project-dashboard.aspx
You can have a look at : https://github.com/Vooban/TfsCommitMonitor which is our initial version, originally developped two years ago, we'll be updating it to revamp UI using WPF and optimize it.

Receive email in TFS when I have a new task

Is there a way to receive an alert (email) in TFS whenever I have a new task?
In TFS 2008: right-click project, Project Alerts and check "When my workitems are changed by others"
Team Foundation Power Tools - Alerts Editor
"Alerts Editor
A GUI tool plug-in to Visual Studio that supports flexible subscription of alerts based on check-in, work item change, or build completion."
For TFS 2010 there is an easy solution for you now, via a plugin which can be downloaded from
CodePlex - Team Alert
It's a simple copy-paste solution which can take you 5 minutes to put in place using the configuration extract listed in the post below. This plugin will also enable this rule to any user in the assigned to value, as opposed of setting up an alert for each user individually.
This post will show the exact configuration you need to perform the alert notification.
Notify AssignedTo user of new work (for a specific TFS project)

TFS serverside project alerts

It is our policy that the owner of a bug MUST be notified about bugs he owns, regardlessly of if he subscibed or forgot to subscribe. Is there a way project alerts can be configured on the server side or something without having to rely on the team member to subscribe manually? (TFS2010, TFS2008).
For TFS 2010 there is an easy solution for you now, via a plugin which can be downloaded from
CodePlex - Team Alert
It's a simple copy-paste solution which can take you 5 minutes to put in place using the configuration extract listed in the post below:
This post will show the exact configuration you need to perform what you want.
Notify AssignedTo user of new work (for a specific TFS project)
Not out of the box!
If you are using TFS2008 then you can use http://tfseventhandler.codeplex.com to host an "Event Handler" to do this for you.
You may need to create your own handler if there is not one that suits your needs perfectly, but I think the "AssignedTo" handler will do the job.

tfs project alerts

the 4 project alerts in TFS are good but I need some more of mine in them. The important one i want is when i create a new bug in TFS i want an email to be sent out.
Is there a way i can create a new alert in the project alerts? If so how?
This is what you are looking for: Team Foundation Power Tools - look for Alert Editor.
Once that is installed you will be able to customize alerts as you wish. It will add a new node under each team project in Team Explorer.

Resources