Is mail notification available when creating a work item through REST API
The mail notification works when creating a work item via GUI, but while creating it through REST API, the subscriber does not get any mail. How can I make it happen?
One special point of the case is, the creator and subscriber is the same one, is this the cause why there is no notification?
One special point of the case is, the creator and subscriber is the same one, is this the cause why there is no notification?
3 answers
y h:
If you browser to .../ccm/admin > Users > select the user ID in the list > Mail Configuration.
Here you will see the available settings. For "Work Item was created or reopened", is "Subscriber" checked? If not, check this box.
BTW, I just noticed you wrote the creator and subscriber is the same user.
In this case there will be no notification, even if you create a WI via web UI, as it would be redundant.
Similarly, you won't get an update notification if you are the one to make the update (as you already know you did it, and the email is not necessary).
In this case there will be no notification, even if you create a WI via web UI, as it would be redundant.
Similarly, you won't get an update notification if you are the one to make the update (as you already know you did it, and the email is not necessary).
Comments
Thanks, Piotr. My case is, we are using a functional ID to create work item thru RESTful API, and we want all the Admins can be notified about this work item.
We plan to utilize the mail rule to forward the notification to a group of people.
As you mentioned, the functional id won't get any notification when setting it as owner or subscriber, so there is no way to let the admin know what is going on.
Do you have any way that will be helpful to us?
if you are using the REST API, it means you need to have some sort of client that issues REST calls to the Jazz server. If the code of this client is under your control, you could send the notification email from there.