$customHeader
Skip to end of banner
Go to start of banner

Error: 'Incorrect request: ["No recipients have been defined for the notification."]' in JMWE Email issue(s) post-function.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Problem:

The JMWE Email issue(s) post-function is not working as expected, and the below error is seen in the logs:

Incorrect request: ["No recipients have been defined for the notification."]

Reason:

If the recipient(s) added in the JMWE Email issue(s) post-function is the same as the “Run As” user added in the post-function, then this becomes a self-notification (user in “Run As” = recipient of the email).

So, in this case, if “Receive emails when you make changes to issues” is unchecked, the user is not considered a recipient, and hence, the error below is thrown in that user’s pro logs.

Incorrect request: ["No recipients have been defined for the notification."]

The below warning is mentioned on the JMWE Email issue(s) post-function configuration page regarding “Self-notifications”:

…and also in the documentation here:

Solution:

So, to avoid the error and to receive the email successfully, either the below option must be checked in the user’s profile or the “Run As” should be changed to “Add-on” user in the post-function configuration:

image-20240419-072023.png

To access the above setting, go here JIRA_INSTANCE_URL/jira/your-work and follow the below steps:

Profile Settings.mov

  • No labels