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.
Related
I've researched about how to send e-mails when build fails, but I only found personal options for this issue, changing my alerts configuration.
I want to send e-mails to users signed in the project. How can I configure this in my project configurations?
PS.: I'm using TFS from Visual studio 2013
When you're creating an alert in TFS 2013, you must specify the scope that the alert sites at ("Me" or "Team"). In TFS 2013, each Team Project will have a default team, so you can set the alert to be that specific team's alert, or a sub-team if you only want the alert to go to a subset of the overall Team Project. When you are configuring the alert in the alerts explorer, hit the Subscriber drop-down in the top right, and choose the appropriate team.
This may already be the site you found: http://msdn.microsoft.com/en-us/library/ms181725.aspx (sorry if this isn't what you're asking)
I have some alerts set up to be sent to myself and a few other individuals. And other alerts go to a larger distribution list.
Go to the control panel of your TFS project. It's the same url as your TFS project page which ends with "_admin" (http://yourtfsserver:8080/.../.../projectname/_admin)
Click on the "Alerts" tab. From the left side pane open the "ProjectName Team Alerts" item and select the "Build Alerts". On the main frame you'll find the query options to build team wide build alerts.
Hope this solves your problem.
As an alternative you may use ccTray: http://www.cruisecontrolnet.org/projects/ccnet
Perhaps you will manage to configure it with the help of this stack: Does TFS have anything like CCTray for Build Notifications?
Is there a way to access another Admin's Team Alerts in TFS 2010?
I don't have much experience using TFS other than checking code in/out. I was recently put in charge of changing around some team alerts that were previously created by another Admin. Is there a way for me to access the alerts he set up?
There are over 100 alerts which will be a pain if I have to remake them on my account. If anyone knows of an easier way such as exporting the alerts or transferring them I would appreciate it.
I suggest you to use Tfs Web Access, click on Settings at the top right corner, select Team project\Alerts
Other solution :
You can use the BisSubscribe tool commandline located on your tfs server in %ProgramFiles%\Microsoft Team Foundation Server 2010\Tools
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)
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.
I want to get the build status in TFS (whether it is succeeded or failed). Which classes and methods can be used for this purpose?
You can run Build Notifications, which is similar to CC Tray in that it will continually give you the status of all builds that you're interested in following. To launch the tool, go to...
All Programs-->Microsoft Visual Studio 2010-->Team Foundation Server Tools-->Build Notifications
Click on the Options button to subscribe to whichever builds are on your server. This will now show up in your system tray with a green check box or red X to indicate the status of the builds you've selected.
In Visual Studio 2013 with TFS 2013, you have email alerts from TFS and a Build Notification system tray tool: http://msdn.microsoft.com/en-us/library/ms181725.aspx
However, it usually doesn't show up in the Windows 8 Start screen, even with a search. So, run it manually in most installations from here:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\BuildNotificationApp.exe
The TFS API is mostly documented on MSDN under the Visual Studio SDK: http://msdn.microsoft.com/library/bb130146, however the build APIs are in a different location (in the TFS documentation): http://msdn.microsoft.com/library/cc339575.
These are the same assemblies that tf.exe and Team Explorer (etc.) use.
If you just want the alert (not programmatically): You can right-click on the project in the Team Explorer and select Project Alerts.
You can use AnyStatus to monitor both XAML and vNext builds and lots of other monitors such as Windows Services, HTTP, TCP/IP, Ping, GitHub, Other CI/CD tools, Performance Counters and more.
Disclaimer: I am the author of AnyStatus
Check out the MSBuildCommunityTasks library. It has a Mail task.
Import this into your build project to send the mails.
To enable build notification e-mail alerts, in Team Explorer:
If you are not already connected to the team project that you want to work in, then connect to the team project.
Choose Home, and then choose Settings.
On the Settings page, under Team Project, choose Project Alerts.
Select one or more alert events.
In the Send My Alerts To box, choose Edit and enter the email address of each person who should receive the alerts. Use semicolons to separate multiple email addresses.
more details, see : https://msdn.microsoft.com/en-us/library/ms181725.aspx
I just discovered CatLight which just works with little fuss. Never had any success with AnyStatus. CatLight sits in your tray and notifies you when builds succeed or fail.
Under TFS 2008, you can right click on the TFS Project name (in Team Explorer) and select Project Alerts.
Then pick the A Build Completes alert and put your email address into the Send To field.
I think TFS 2005 also has this feature, but I can't rememeber. It's been awhile. ;)