Mail notification for contributor attribute
Hi
I added custom attribute of type contributor into work item and assigning a user via calcualted java script to that attribute. I thought mail notification will be sent as the custom attribute I added is of contributor type like Owned by or Created by attributes. No mail is sent on saving the workitem. I verified user is part of project, team and also has appropriate licence. does it required any other configuration in order to enable mail notifcation?. Same script work find if I enable it for Owned By attribute. Not sure it is not work for custom attribute. Please suggest.
Thanks in advance
One answer
As you can see in the e-mail notification configuration E-Mail does get sent to specific users being subscribed, being owner and so forth.
E-Mail notification is not sent to an arbitrary user in some custom attribute however and there is no easy way to make RTC do that. One way would be to subscribe the user put in there. See https://rsjazz.wordpress.com/2012/08/02/subscribing-to-a-work-item-using-the-java-api/ for a discussion how to. It is not trivial.
Another way would be to write a special server save work item participant that sends e-mail based on some logic.
E-Mail notification is not sent to an arbitrary user in some custom attribute however and there is no easy way to make RTC do that. One way would be to subscribe the user put in there. See https://rsjazz.wordpress.com/2012/08/02/subscribing-to-a-work-item-using-the-java-api/ for a discussion how to. It is not trivial.
Another way would be to write a special server save work item participant that sends e-mail based on some logic.