Solved

email alert on any changes done on the Work Item User Story

Posted on 2011-03-05
10
2,116 Views
Last Modified: 2014-04-25
Dear all
I am working TFS 2010
I want to send an email when any workItem of type “User story” to the person who creates the user story when any updates is done on this user story for example:
text added/removed/updated
new child work item is added/removed/updated like tasks or bugs
new attachments added/removed/updated
0
Comment
Question by:RamzyNEbeid
  • 7
  • 2
10 Comments
 
LVL 6

Accepted Solution

by:
sabby447 earned 250 total points
ID: 35047169
0
 
LVL 1

Assisted Solution

by:IandINSW
IandINSW earned 250 total points
ID: 35048327
Install Team Foundation Power tools. A google search will bring up a link, currently this link to the latest version is at http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f/

This has the ability to install Alerts Explorer so it will allow you to do what you would like.
0
 

Author Comment

by:RamzyNEbeid
ID: 35056670
i did make everything i can do and i still face this error:
TF53010: The following error has occurred in a Team Foundation component or extension:

Date (UTC): 3/5/2011 8:37:31 PM

Machine: TFS

Application Domain: TfsJobAgent.exe

Assembly: Microsoft.TeamFoundation.Framework.Server, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727

Service Host:

Process Details:

Process Name: TFSJobAgent

Process Id: 4116

Thread Id: 3656

Account name: NT AUTHORITY\NETWORK SERVICE

Detailed Message: TF271001: An error occurred while attempting to send an e-mail notification to the following address: ramzy.nashaat@domain.com. Further e-mail notification errors that occur within the next five minutes might not be logged. Verify that the e-mail notification settings are correct in the Team Foundation Administration Console.

Exception Message: Mailbox unavailable. The server response was: 5.7.1 Client does not have permissions to send as this sender (type SmtpException)

Exception Stack Trace: at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)

at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)

at System.Net.Mail.SmtpClient.Send(MailMessage message)

at Microsoft.TeamFoundation.JobService.Extensions.Core.NotificationJobExtension.SendEmail(TeamFoundationRequestContext requestContext, TeamFoundationNotification notification)
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:RamzyNEbeid
ID: 35056695
i change the windows service "Visual Studio Team Foundation Background Job Agent" from network service account to Domain account
and i am still facing this error.
my current version of TFS is: 10.0.30319.317 (RTM KB2135068)
0
 
LVL 1

Expert Comment

by:IandINSW
ID: 35065038
Have you received any email alerts from TFS whatsoever? Seems like a TFS and your email server integration problem. In the TFS Administration Console. In the email Alert Setting I would assume you have correctly populated the SMTP Server setting and that your email server allows your TFS server to relay email messages?
0
 

Author Comment

by:RamzyNEbeid
ID: 35067073
yes we did this
i am sure of the SMTP
i am sure of the mail, the admin told me that the mail i want to use in the "From Mail" is added in the mail server.
i want to inform you that we are using Exchange Server 2007.
0
 

Author Comment

by:RamzyNEbeid
ID: 35067079
no i didnt recieve any mail at all, i just saw them in the event viewer only
0
 

Author Comment

by:RamzyNEbeid
ID: 35067103
concerning this part:  I would assume you have correctly populated the SMTP Server setting and that your email server allows your TFS server to relay email messages?

as they told me that once they add the mail in the exhange server then you can use it to send email without the need of the username and password.

they also told me that by default Relay is disable by default
0
 

Author Comment

by:RamzyNEbeid
ID: 35068195
it is done.
to solve this issue you need to put the domain user that runs the windows service  "Visual Studio Team Foundation Background Job Agent" as ADMIN on the TFS server.

thanks
0
 

Author Closing Comment

by:RamzyNEbeid
ID: 35068202
everything was right from the Beginning only setting the user that runs the windows service as admin on the machine
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Trying to Connect to SharePoint Site in PowerApps 5 43
sharepoint online 3 44
SharePoint 2013 Table Moves 3 23
Scan Files already in SharePoint 2010 on prem ? 5 16
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question