It's all about the answers!

Ask a question

Trigger mail from RTC after a specific field has been changed.


0
1
Bharath Adhithya (5213352) | asked Jul 18 '12, 9:01 a.m.
edited Jul 22 '13, 11:01 a.m. by Ralph Schoon (63.4k33646)
Is it possible to trigger a mail in RTC after a specific field of an work item , say due date field is changed? Is there any possible way of doing this?

Thanks,
Adhithya

3 answers



permanent link
Ralph Schoon (63.4k33646) | answered Jul 22 '13, 8:22 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Jul 22 '13, 11:00 a.m.
Because Follow up actions run in the same transaction as the operation, you might rather follow the information below.  However, here is an example for a follow up action: https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/

See https://jazz.net/wiki/bin/view/Main/QueryDevGuide and http://jorgediazblog.wordpress.com/2013/06/28/rtc-custom-scheduled-async-task-example-explained/ for more information.

Also possible https://jazz.net/wiki/bin/view/Main/TeamProcessDeveloperGuide  adding a com.ibm.team.process.service.IChangeEventHandler .

Get the MailerService:  getService(IMailerService.class);  and use it to send a mail.

permanent link
David Olsen (5237) | answered Jul 18 '12, 10:13 a.m.
JAZZ DEVELOPER
Not that I know of.  When you subscribe to a work item you receive e-mail if (almost) any field changes.  There isn't a way to trigger the e-mail message when certain fields change while ignoring changes to other fields.

-- David Olsen, IBM Rational, Jazz Process Team

permanent link
Ralph Schoon (63.4k33646) | answered Jul 18 '12, 10:33 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Bharath,

as of today there is noting in the product that would do this.

You could write a followup action or an extension that runs based on notification. Both could run on the server and could use the e-mail service available in the server. There are several customers that have created extensions to do similar things. IBM offers another extension that enhances e-mail notification as service.

Comments
Helen Yao commented Jul 22 '13, 7:55 a.m.

Hi Ralph,

Could you explain how to set the followup action or extension to fulfill this? Any wiki or link would be helpful. Thanks in advance.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.