Email Contributer to a Work Item.
Background: I have created a custom attribute to a work item called "Product Owner(s)" I also associated this to the "Contributor List" so the field can be populated with one or many Project Members. Attached is a screenshot of the custom attribute.
Question: Would it be possible to automatically send an email to those I select as a "Product Owner(s)" informing them of this action? The action I would like to perform is the same action as if I were to assign someone as an owner to the Work Item.
All information is greatly appreciated.
Question: Would it be possible to automatically send an email to those I select as a "Product Owner(s)" informing them of this action? The action I would like to perform is the same action as if I were to assign someone as an owner to the Work Item.
All information is greatly appreciated.
Accepted answer
Hi Jason,
My hunch is that it's not possible to do this out of the box. Users can configure the e-mail notifications they receive by editing their profiles; they can choose whether or not they want e-mail notifications if they are the owner of a work item.
The easiest workaround would be to manually add users to the subscribers list when you assign them as the Product Owner. You might be able to write a follow up action that would do this for you automatically on Work Item Save. https://jazz.net/wiki/bin/view/Main/CustomPreconditionFollowup has information on writing follow up actions.
You might also be able to write a follow up action that sends users e-mails. https://jazz.net/forum/questions/131741/rtc-plugin-for-sending-notification-email has information on e-mail notifications.
My hunch is that it's not possible to do this out of the box. Users can configure the e-mail notifications they receive by editing their profiles; they can choose whether or not they want e-mail notifications if they are the owner of a work item.
The easiest workaround would be to manually add users to the subscribers list when you assign them as the Product Owner. You might be able to write a follow up action that would do this for you automatically on Work Item Save. https://jazz.net/wiki/bin/view/Main/CustomPreconditionFollowup has information on writing follow up actions.
You might also be able to write a follow up action that sends users e-mails. https://jazz.net/forum/questions/131741/rtc-plugin-for-sending-notification-email has information on e-mail notifications.
Comments
Susan Hanson
Jan 06 '14, 8:55 p.m.We've had similar requests and actually have done something similar to you. In our case, a specific custom work item not only has an owner, but also (for simplicity) an architect. The owner gets the updates but the architect (by default) does not. Our plan is to write a PreconditionFollowup that would add the architect as a subscriber, and therefore, assuming they haven't configured NOT to get an email as a subscriber, they will also get emails.
We are looking at if we can unsubscribe them on the change as well. So if they were the architect previously and this save is the one that is changing to a different architect, then we would remove them as a subscriber.
Susan