Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to include Smart value from a Custom text field that will contain email address

Hariharan Y
Contributor
April 22, 2025

I am having a custom field with name Leader Email, which is of type 'Short Text'. It will contain an email address. Now, how do I insert this value in the Recipient field to trigger an automated email. I have tried all possibilities, set entity property, provide value in the fomr of {{issue.customfield_xxxx}} and {{issue.customfield_xxxx.value}} etc. but nothing seems to work. I keep getting the error that No email is provided in the recipient field. Would really appreciate some help in this regard. 

3 answers

1 vote
Anthony Morais
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 22, 2025

 Hi, @Hariharan Y 

I recently faced the same issue when trying to send an automated email using the value of a custom text field (type: Short text) containing an email address.

To make it work, instead of using:

{{issue.customfield_XXXXX}}

I used:

{{issue.fields.customfield_XXXXX}}

This change solved the issue, and the email was sent successfully. You can also add a “Log action” before the email step to validate the value at runtime.


Let me know if it works for you too!
send email.png

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 22, 2025

Hi @Hariharan Y 

For a question like this, context is important for the community to help.  Please post the following:

  • what version of Jira are you using: Cloud, Server, or Data Center
  • for Cloud, what type of project is this: company-managed, team-managed, JPD, etc.
  • an image of your complete automation rule in a single image for continuity
  • images of any relevant actions / conditions / branches
  • an image of the audit log details showing the rule execution
  • explain what is not working as expected and why you believe that to be the case

 

Kind regards,
Bill

0 votes
mruttan April 22, 2025

You may need to add a re-fetch, if the field was populated in the same automation rule.  

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events