how to send additional emails, help!
In some of our business processes, we need to send email to selected team members to inform them about work they may need to review. when a new workitem is submitted, and when a state change occurs and an approval is required. not all the users are or need to be be approvers.
RTC will only send to users in the Approvers list on approvals.. we need a different set of users.. so, I thought, heck, I can write an extension for these projects, and let them customize wen to send these notifications, and invoke the 4.0 mail service boooo.. the mail service isn't exposed.. any other suggestions? if I could support this little function, I could shut down a separate app server AND provide better integration, usability and reporting for these teams.. (as this new workitem links to Defects) Sam |
3 answers
The mailer service is actually named com.ibm.team.repository.service.IMailerService. There is also a REST service that can be used from code running outside the JTS, as described in https://jazz.net/wiki/bin/view/Main/JFSMailerAPI.
|
Ralph Schoon (63.4k●3●36●46)
| answered Jun 20 '12, 4:39 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Sam,
I am aware that others have extended the notification mechanism to send E-Mail. The E-Mail service was exposed in 3.x I believe as com.ibm.team.repository.service.MailSender; Please note, this is a server side API. The mailer was not exposed in the client. |
interesting.. I see the class and can access it from an advisor.. but don't see it exported anywhere..
now on to the next question.. are there any examples of the config data for advisors.. I need to add a list of contributors to send this mail to.. I just don't see how to build the ui for these plugins.. thanks |
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.