It's all about the answers!

Ask a question

Customize Work Item Behavior to Subscribe a Contributor to a WI?


Daniel Chirillo (1801417) | asked Mar 15 '13, 10:51 a.m.
Environment:  RTC 4.0.1

I am working with a customer who has added 2 (custom) attributes of type Contributor to WIs.  She wants the contributor set in each of these attributes to be automatically subscribed to that WI.  Is this possible to do this with work item customization and javascript?

One answer



permanent link
Ralph Schoon (58.2k23642) | answered Mar 16 '13, 4:29 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
 Daniel, that is not possible with JavaScript but you can code up a participant to do that. See http://rsjazz.wordpress.com/2012/08/02/subscribing-to-a-work-item-using-the-java-api/ about the API for subscription in general. Be aware that this is client API and you might have to use it slightly different in the participant. A good starting point for a participant would be http://rsjazz.wordpress.com/2012/11/30/a-create-approval-work-item-save-participant/ .

Your answer


Register or to post your answer.