Jira Automations Send email to a Smart Value not work

Jennifer Lee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 30, 2023

I have an automation rule to send an email that has been captured in the Jira "Description" field.   The email user may / may not have Jira access.

Jira Description example:  "E-mail: abc@yahoo.com.au"

In the 'Send an email" action I've tried adding the following Smart Value to the "To:" field but have an error: "Could not send an email, the 'To' address field is empty. If you have referenced a field it may be empty."

Smart Value:  {{issue.description.substringAfterLast(“E-mail: ”)}}

The Smart value capture in the email body did return the correct email id as per the Jira description.

I have already tried to create a temp variable and use the temp var as a smart value in the "To:" field but not work as well.

-----

It seems that smart value is not captured at all in the "To" field.  Any suggestion?  Thanks. 

2 answers

0 votes
Victor - Modus Create September 2, 2024

Hi @Jennifer Lee ,

From what I understood of your request, it seems that you would find an alternative for this using Notification Assistant for Jira Cloud:

https://marketplace.atlassian.com/apps/1211069/notification-assistant-for-jira-email?hosting=cloud&tab=overview

The app allows you to set many different triggers that could help you with the task at hand.

Hope it helps.
Cheers,
Victor | Modus Create

0 votes
shaurya_dhaka
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 19, 2024

were you able to solve this?

Jennifer Lee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 21, 2024

No.  hardcoding atm.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events