Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

#lookup issues not returning any values in an email

Hi community,


Using lookup issues to send an email that runs on a schedule.


The lookup issues is basically trying to find any tickets that have been blocked for 14 days and not moving so requires chasing or moving. The email HTML text is as follows:

<p>Hi Team,</p>
<p>Blocked External Review Notification: Please review the following Jira ticket/s that have been blocked external for > 14 days. Please deal with them as you see fit.</p>
<table cellspacing="1" cellpadding="5" border="0" bgcolor="#aaaaaa">
<tr bgcolor="#ffffff">
<tr bgcolor="#ffffff">
<td><a href="{{url}}">{{key}}</a></td>
<p>Kind Regards,</p>
<p>Data Migration</p>

 However the email we get back is just the table and table headers without content. I cannot spot where this is going wrong so any help is appreciated.



2 answers

1 accepted

2 votes
Answer accepted

Hi @daniel tombs 

Smart values are case and spacing-sensitive, and I note a typo for Lookup Issues in your message.  Please try this:


Kind regards,

Stefan Salzl Community Leader May 24, 2022

wow...even noticing the smallest details 🙌🏼

Awesome work @Bill Sheboy 

Like Bill Sheboy likes this

Hi @Bill Sheboy


Great spot!!! I knew about space sensitive stuff but I just could not spot and needed your fresh pair of eyes. Thanks.



Like Bill Sheboy likes this

I am glad to learn that helped.

Automation for Jira is frequently improving, and I hope that at one point the editor adds type-ahead autocomplete for smart values and/or validation on save with better error messaging to help find such things  :^)

Like Stefan Salzl likes this
1 vote
Stefan Salzl Community Leader May 24, 2022

Hi @daniel tombs ,

Just a few points I would suggest for investigation (if they haven‘t been done already:

  • does the jql provide the correct result in the search within the jira project?
  • Does the rule run in the same project that the jql is selecting? Otherwise: Is the rule configured as a multi-project or global rule?
  • For test reasons I often add a „log action“ component that just logs the output (eg. of your lookup issues)


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Atlassian Automation

Jira Automation: Sum Up Story Points Roundup (Initiatives -> Epics -> Story/Tasks -> Subtasks)

Hi Everyone, In this roundup we combine all the jira automation rules to sum up story points across different issue types. We start from the lowest level, summing up story points from sub-tasks t...

1,838 views 2 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you