Forums

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

Smart Value reference to #lookupissues failing in automation email

Christopher Danner
December 19, 2025

I'm struggling to get an automation to work correctly in JIRA Cloud. I've successfully set a trigger and gotten the lookup work items to return the expected results, but when trying to send an email with the results it fails.

The body of the email looks like the below:

 

The following issues  are in the 'Accepted - Waiting for Deployment' status as of today:

{{#lookupissues}}

  • {{key}}:{{summary}}

{{/}}

 

When I remove the smart value references the email successfully sends but it fails every time I actually try to reference the results from the second step of the automation.

Any ideas?

3 answers

1 vote
Chris Rogers
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 Champions.
December 19, 2025

Hi @Christopher Danner 

It might just be a copy-and-paste error, but I believe lookupIssues is case-specific.  

If that's not it, can you provide a screenshot of your automation rule and what you're getting in the audit log when it fails?

Christopher Danner
December 19, 2025

Hi @Chris Rogers ,

I double checked and it stills fails with matching case. See the automation workflow, email body, and error below.

Screenshot 2025-12-19 at 2.17.02 PM.pngScreenshot 2025-12-19 at 2.15.44 PM.pngScreenshot 2025-12-19 at 2.15.55 PM.png

0 votes
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 Champions.
December 19, 2025

Hi @Christopher Danner 

Change the format to PlainText and use this:

The following issues are in the status 'Accepted - Waiting for Deployment':

{{#lookupIssues}}
• {{key}}: {{summary}}
{{/lookupIssues}}

SCR-20251219-ousr.pngSCR-20251219-owek.png

 

Hope it helps!

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 Champions.
December 19, 2025

Hi @Christopher Danner 

You appear to be using the newer, Send Customized Email action.  When using a longer smart value expression to iterate over {{lookupIssues}} results, remember to first type three accent quotes ``` to enter the Smart Values Code Snippet mode in the content field.  Otherwise, the expression will not process correctly.

Kind regards,
Bill

Christopher Danner
December 19, 2025

@Bill Sheboy  This worked, thank you!

As a follow-up, could you point me to any good instructions on combining the smart values code and HTML if you know of any?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events