I am trying to use the Automation for Jira add-on to send an email to users in a multi-user picker field, but I can't get it to work. Based on some documentation I found it seems like this should work: {{#issue.customfield_16428}}{{emailAddress}}, {{/}}. However, it still does not seem to be working. My rule shows as successful, but I did not receive an email and the output is this: "Email "QA-39686 has been completed" sent to <{{#issue.customfield_16428}}{{emailAddress}}, {{/}}>"
Is there a particular way to do this that I am missing?
Hi Cole,
The audit log message around sending emails is like that to avoid adding too much identifying user information in audit logs. You can print out the raw value by adding a "Log action" component before sending the email with your smart value "{{#issue.customfield_16428}}{{emailAddress}}, {{/}}". This will give you the value to help figure out if your custom field is being read correctly.
In regards to the email not sending, the server version of Automation for Jira hooks into the inbuilt Atlassian mail queue. Success in our audit log usually means it's been accepted into Jira's queue but it could still failure there, you should be able to find more information by looking in the user interface for Jira's mail queue.
Cheers,
Yvan
Hey Yvan,
I appreciate the response. Adding the Log Action did produce the correct value. I also saw the emails go into the mail queue and then leave with no errors, however I did not receive the email.
I am using a third party extension for "Send PDF" and I assume that is the issue. It seems that extension does not support custom expressions here.
I guess I will have to find a way to populate this with a script action or something of the like.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.