How to notify specific roles for a specific work item state
Hi
Is there way in RTC notify specific roles for specific when work item item is changed to particular state for ex: when work item changed to "Draft/New", notify roles (users part of this role) such as marketing & Sales only. When it moves to "In Progress", notify another set of roles/users and also use specific mail template configured. Out of box mail notification do not help and do not want add/remove subscribers manually. It should happen automatically. Does developing follow up action for save work item help ? Has anyone tried and working? if so please share the details so can try the same. Thanks in advance!. |
One answer
Hello,
this is not possible OOTB and should be addressed by
and
We recently had a similar request and I copy below the answer from Ralph:
(...)
The internal e-mail notification is done via an asynchronous task - the code is in the SDK. However, I think it is easier to do this via a follow up action.
For this approach almost all code is available.
In https://jazz.net/library/article/1000: you can find the code for a follow up action using a state change.
In https://rsjazz.wordpress.com/2012/12/09/analyzing-a-aroject-areas-members-and-roles-using-the-plain-java-client-libraries/: you can find the role API. The server side role API is very similar. Instead of the client services like IAudibleClient you use AudibleCommon and the server side IAudibleService.
Once you got the users with the roles and extract their e-mial you can use the com.ibm.team.repository.service.IMailerService to create and send mails.
The subscription API is also explained on https://rsjazz.wordpress.com/ . Please note, you can search for keywords such as "subscribe" in the top right corner of the homepage.
(...)
Hope it helps,
Eric
|
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.