{{#Issues}} does not list the issues.

Giomar January 20, 2025

jira.png"I am using an email to list all the issues from a JQL query. The query is correct and returns 7 issues, but this query for the email does not list any issues. I hope you can help me."

{{#Issues}} | {{reporter.displayName}} | {{key}} | {{summary}} | {{url}} | Días en Ejecución: {{created.convertToTimeZone("America/Lima").diff(now.convertToTimeZone("America/Lima")).Days}} | {{/}}

1 answer

1 vote
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 20, 2025

Hello @Giomar 

Welcome to the Atlassian community.

Is this related to an Automation rule? If so, please provide a screen image of that rule.

Without that I have an educated guess about what might be happening:

If you are using a Lookup Issues action to execute your JQL, then you need to use {{#lookupIssues}} rather than {{#Issues}}

Giomar January 20, 2025

done

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 20, 2025

Thank you for the screen image, @Giomar 

My answer does apply to your situation. You need to change the email to use {{#lookupIssues}} instead of {{#issues}}

Giomar January 20, 2025

Thank you for your answer, yes it is correct, but I need to access custom values ​​of the issues and with lookupIssues I cannot or I do not know how

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 20, 2025

You would access them the same way you access the other fields; use the field name like you did for {{summary}}

Suggest an answer

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

Atlassian Community Events