"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}} | {{/}}
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}}
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}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You would access them the same way you access the other fields; use the field name like you did for {{summary}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.