Add subscribers automatically when a work item is submitted
![]() Hello, I would like to add few users automatically to the subscriber list when a work item is created. I was couple of places where it was referred to be done without the need of any programming. Here are the links:
But, the Subscribed By attribute has all fields greyed out except the Name field. Sorry unable to insert image. Any ideas. Thanks.
|
Accepted answer
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Jun 27 '17, 10:15 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER See https://jazz.net/forum/questions/75970/want-default-subscribers-in-workitem/75971
To understand that look into https://jazz.net/library/article/1093 Lab 4 in this link https://jazz.net/library-content/wp-content/uploads/2014/10/pew-rtc-lab-workbook.pdf
Namit Pande selected this answer as the correct answer
Comments ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You would have to create a default value for a user list, add the users to the list and make it a default provider for the subscription attribute.
Note this subscribes the configured user list to all work items created for all types.
I knew I was missing something. Thanks Ralph for straightening me out. Ralph, another related question. We actually need to email/notify bunch of folks when a work-item is created. It may be a bit of overkill to add those folks as subscribers to each WI. Is there a way to generate an email just on submission. I will be interested in knowing the programmatic route as well if it is the only way to achieve this. Thanks. ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
See https://rsjazz.wordpress.com/2016/07/15/rtc-process-customization-what-you-can-and-cannot-do/ search for subscribe after reading that, search for asynchronous task and follow up action / participant on that blog. I think you could use both approaches to create a more reasonable implementation with more effort.
I don.t think you can send emails from a java or JavaScript based attribute customization, but if one has a solution that works in all clients, I'd like to know.
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
another approach might be to listen to the team feeds and see the events instead of getting an email. All good suggestions, thank you once again Ralph.
showing 5 of 6
show 1 more comments
|
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.