It's all about the answers!

Ask a question

How to make a user to be automatically subscribed to a particular workitem type, so that he can get mails on every update of the workitems


Alfred Miranda (43414) | asked Dec 24 '15, 6:21 a.m.
Hi,

Required:
Want a user to be automatically subscribed to a particular workitem type, so that he can get mail triggered to him on each and every update of the workitems.

Tried by failed:
1. tried using "subscribe by" but it has been shared among all workitems, tried duplicating the same but that didnt workout.
2. Tried using script based condition to push the user id into subscribe by field, but didnt work.
3. Tried to add a custom attribute called subscriber with attribute type as contributer list, the user is getting populated but mail not triggered.

kindly help me in this issue.

Regards,
Alfred Miranda.

One answer



permanent link
Ralph Schoon (63.1k33646) | answered Jan 04 '16, 2:47 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The mail only works based on the built in subscription. You can add subscribes in a follow up action. See https://rsjazz.wordpress.com/2012/11/30/a-create-approval-work-item-save-participant/ for an example. The blog also shows the subscription API.
Note: there is no way to distinguish between users that willingly subscribed and ones that got subscribed tor later management.

Another possible way to create custom mail notifications is described in Due Date Notifier – an Asynchronous Task Example

Your answer


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