Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC Extension for email notify after baseline creation

 Hi,
I need to create an extension which will send an automatic email notification after baseline creation in certain project.
The email need to be sent to all the project members.
Is it possible by using RTC plugins or there is a need to write an outer java classes?
Thanks.

0 votes



One answer

Permanent link
 Hi, 

I guess the old forum should provide some guideline to implement what you need. I guess only trigger for notification seems to be a work item state change so once you bind a work item with your baseline creation action, it might be feasible


com.ibm.team.workitem.service.internal.save.notify.ChangeEventMailNotifier  in the SDK

https://jazz.net/forum/questions/131741/rtc-plugin-for-sending-notification-email

The following link is based on Plain Java Client but I think the similar API can be found from SDK. 

https://rsjazz.wordpress.com/2013/09/30/delivering-change-sets-and-baselines-to-a-stream-using-the-plain-java-client-libraries/

Hope this helps

0 votes

Comments

 There is no direct extension point for create baseline. It might be possible to use an asynchronous task or an event handling extension (there is still no operation/event create baseline, but there is deliver baseline and that should be good enough). 


I still question the use of sending mails around just because someone creates a baseline. The built creates a baseline every time it runs on the build workspace. You will likely only end up with frustrated users with blocked e-mail functions due to their quota.

Thanks for the replies.

Deliver of a baseline is good enough.
I will read your asynchronous task guide to figure out how to do this.
Thanks again.

 My point is, that you can not trigger on baseline creation as far as I can tell.

 I understand.

And if I want to send an email after every delivery that take place, is it possible?
Thanks

 Thank you for all the help!


showing 5 of 6 show 1 more comments

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 10 '16, 3:50 a.m.

Question was seen: 1,954 times

Last updated: May 22 '16, 2:57 a.m.

Confirmation Cancel Confirm