index > Team Foundation Server - Administration > Notification on New Work Item

Notification on New Work Item


I'm trying to get my head around enabling notification on creating a new work item. Is it as simple as turning on the out of the box alert or is there more to it?

At it's most basic I want the person who is assigned a work item to get an email when the work item is created.

LouMachado

Hi Lou, well it can be that simple as check the project alert you say, but this is very simple scenario, it will only send the email to the address you put in the textbox, for the scenario you want, which is send the mail based on the assigned field on the work item, you will need to create a webservice which will be waiting for the event of work item creation (WorkItemChangedEvent).

I will try to explain it more clearly, there are some events TFS raises on some conditions, one of the is the WorkItemChangedEvent which is launched on creation or modification of Work Items, you can create subscriptions to this events, they can be done with email, which are the simple ones you say, or webservices subscriptions, where you create a Webservice which has a "Notify(string eventXml)" webmethod, which will be called on the event launch, this webmethod recieves on the Xml the information of the event (in your case the work item data), and you can send mail, or whatever you want.

I'm trying to resume, there are several samples on blogs, and also on the forum and MSDN, I also would recommend you download the Visual Studio 2005 SDK, which has more info and samples about the eventing service.

Sorry I forgot I have a link with an article on this topic: http://staff.southworks.net/blogs/mariano/archive/2006/04/14/411.aspx




Luis Fraile - MCSD.NET - http://luisfraile.spaces.live.com/
Luis Fraile
Yes, there is out-of box feature to subscribe users to get email when a work item assigned to them changes. Select the project name, and select Team/"Project alerts" menu. Choose work item change alert and specify email. If you need alerts with complex filter criteria, see http://blogs.msdn.com/narend/archive/2006/07/26/679440.aspx


http://blogs.msdn.com/narend
Naren Datha - MSFT
Aha, Naren is right, you can do it also with this out of the box subscription, but it will require your users to subscribe manually to the alert, anyway, this option is right .


Luis Fraile - MCSD.NET - http://luisfraile.spaces.live.com/
Luis Fraile
reply 4

You can use google to search for other answers

 

More Articles

TF26198: The work item does not exist, or you do not have permiss...
Rename my projects
Failed to load adapter
Team System Warehouse Problems
Editing default.aspx without FrontPage?
Random server 400 errors
Identify who has code checked out
Associating an editor of choice with HTML files in the Team Explo...
Change of Team Explorer User
Is there a command line inteface that can access the Version Cont...
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

several TFS projects with one SharePoint…
Saving Document
Removing Project Alerts
disk space
Associating an editor of choice with HTM…
Trouble Accessing Team Foundation Server…
Registration Service
Can't add project Web Parts to home page
Restoring single TFS on a different server
Connecting to VSTFS in a Virtual PC
error when creating a new project in TFS
Problems when uploading a process templa…
Owner does not match logged in user
Is there any place where I should set th…
Can i force developers to add comments a…

Hot Articles

Changes in behavior of the DomainProject…
Team Foundation Workgroup and Sharepoint
tempdb size
project import/export?
Some users can not publish test result: …
Product Feedback for Team Foundation?
Converting tasks from one project to ano…
Reporting Serrvices Error
How can I migrate only my Team System DB
I can not customize sharepoint portal fo…
Two dialogs for users management in Team…
add a default permission to an area
Sharepoint - Link child schedules (MS Pr…
Can TFS build .Net 1.1? products
TF30177: Team Project Creation Failed (t…

Recommend Articles

Errors being logged by TfsWarehouseContr…
Adding user from different domain to TFS…
Where can I found a list of "@"…
Team Server security and VPN
TFS authentication issue after server is…
Error connecting to Team Foundation from…
readonly isn't read only
TeamSystem access via HTTP and HTTPS
Failed to create team project
Why there're always errors on "Repo…
New to TeamSystem & need to share a …
customizing of sharepoint services proje…
link tfsredirect.aspx to queries?
Problem with one client connecting
disk space