Forums

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

Lookup issues in automation rules then display Due Date field value in email

VVC
Contributor
June 5, 2025

My automation rule sends email with a list of issues report from the lookup. Though other fields data is visible in the email but the due date value is never returned.

It looks like a known issue or limitation and did anyone had a workaround to display this field value in the list report via email from automation rules in Jira data center?

<table>
{{#lookupIssues}}
<tr>
<td><a href="{{url}}">{{key}}</a></td>
<td><em>{{created.format("MM/dd/yyyy")}}</em></td>
<td><em>{{duedate}}</em></td>
</tr>
{{/}}
</tbody>
</table>

 

1 answer

0 votes
John Funk
Community Champion
June 5, 2025

Hi VVC,

Try using {{issue.duedate.shortDate}} or {{issue.duedate.longDate}} depending on how you want the date to appear. 

VVC
Contributor
June 6, 2025

Hello @John Funk I was wondering if it actually worked for you, as this syntax didn't work for me when using the LookupIssues.

I have only 2 issues to report which had the due date and though the Issue key, Created Date fields are showing the results, but the due date didn't even with shortDate and longDate syntax. I did see some known issues with reference to due date field in the community threads and Atlassian support.

 

Like John Funk likes this
John Funk
Community Champion
June 6, 2025

Ah, sorry, I forgot that you were using Data Center. I don't think the duedate field works with lookupIssues there. See this: https://jira.atlassian.com/browse/JIRAAUTOSERVER-877

You might try copying the value to a hidden date field and then use that with your lookupIssues and see if that works.  It might just be Dates in general don't work, which would be a shame. 

VVC
Contributor
June 7, 2025

"Created" Date field works with lookup issues but NOT due date. The due date field is being used by most issuetypes in our Jira and I will see if this is worth to go the route of creating another custom date field just to copy the due date then try using that in our lookupissues. Thanks for proposing this workaround.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events