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

Automatically subscribed based on custom field

 Is there a way to add subscribers automatically to a workitem based on entries on particular "Contributer" type field?

I mean this is done by default for the "Created by" and "Owned by" fields of the workitem but I would like to extend this also to other custom fields like "Customer responsible" field (type contributor). Chosen person should be automatically subscribed to the workitem.

Does anyone know how can I manage this?

RTC version 4.0.7.

1 vote



One answer

Permanent link
I think this only practical in a Java Server extension.

Create a follow up action like https://rsjazz.wordpress.com/2012/11/30/a-create-approval-work-item-save-participant/
and replace the approval part  with subscribing. The Java API for subscriptions is
https://rsjazz.wordpress.com/2012/08/02/subscribing-to-a-work-item-using-the-java-api/ it is very similar on the server.

Reading attribute values is explained in https://rsjazz.wordpress.com/2013/01/02/working-with-work-item-attributes/ and in the server this is an example: https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/

1 vote

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: Jul 30 '15, 9:55 a.m.

Question was seen: 2,179 times

Last updated: Jul 30 '15, 10:07 a.m.

Confirmation Cancel Confirm