The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

{{#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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Trudy P Claspill
Community Champion
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 P Claspill
Community Champion
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 P Claspill
Community Champion
January 20, 2025

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

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events