How do I have a daily report of a specific filter?

Armando Calvache February 12, 2025

Hi!

I would like to have a daily email with the list of issues of a specific filter in jira automation.

I am using the lookup issues but I am not sure if I am writing the correct way the filter I want.

 

4 answers

0 votes
Vishal Biyani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 12, 2025

@Armando Calvache 

Have you given view permission to the filter? if it is private then automation will give error

Armando Calvache February 12, 2025

@Vishal Biyani Yes, it is visible to anyone in my organisation

Vishal Biyani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 12, 2025

please share the SS of your audit log to understand what error message you are getting

Armando Calvache February 12, 2025

I didn't know that existed. Seeing what appears here, it seems that it doesn't find the filter well. Any advice?

 

Captura de pantalla 2025-02-12 133232.png

Vishal Biyani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 12, 2025

@Armando Calvache 

i suspect you have issue due to filter permission. Can you check what is the view permission and confirm?

Armando Calvache February 12, 2025

The filter is set so that anyone in my organisation can see it, should I pay attention to any other settings?

Vishal Biyani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 12, 2025

if you have confirmed that permission for the filter looks like 

snip.png 

Then to debug, can you run the filter in jql and check how many issues are returned?

0 votes
Vishal Biyani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 12, 2025

@Armando Calvache 

To better format the email given that there could be multiple issues, you can format your email with html table like this

<table border="1" style="border-collapse: collapse; width: 100%;>
<thead>
<tr>
<th style="text-align: left; vertical-align: top;">Issue Key</th>
<th style="text-align: left; vertical-align: top;">Summary</th>
</tr>
</thead>
<tbody>
{{#lookupIssues}}
<tr>
<td style="text-align: left;">{{key}}</td>
<td style="text-align: left;">{{summary}}</td>
</tr>
{{/}}
</tbody>
</table>

Armando Calvache February 12, 2025

@Vishal Biyani Thanks! I guess it will help for sure once I fix the problem of not showing the issues

0 votes
Dmitry Astapkovich _Colined_
Atlassian Partner
February 12, 2025

Have you tried adding a subscription to a filter? 


SCR-20250212-mcqu.png

Armando Calvache February 12, 2025

Yes, but I want to send that info to another user, not only for me

Dmitry Astapkovich _Colined_
Atlassian Partner
February 12, 2025

You change the subscription from Personal to Group:

SCR-20250212-ofwl.png


Armando Calvache February 12, 2025

Understood, and is it possible to customise the columns displayed?

0 votes
Dick
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 12, 2025

Hi @Armando Calvache Welcome to the Atlassian Community

Please share what you have so far (pictures of your automation), then we can help expanding on that to cover your question.

 

You're aiming for a scheduled trigger (cron based), a suitable lookup issues jql and an email action with proper list-iteration with smart values representing the stuff you want to be put into the email.

Kind regards,

Dick

Armando Calvache February 12, 2025

 

I leave them attached. As you can see, the automation is composed of three blocks. The periodicity block, the filter block (the number 10395 is the ID of the desired filter) and the mail block where I have two options written.

Captura de pantalla 2025-02-12 101534.pngCaptura de pantalla 2025-02-12 101623.pngCaptura de pantalla 2025-02-12 101626.png

Dick
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 12, 2025

Hi @Armando Calvache 

Thanks for sharing, but the syntax you use in the email is incorrect. Correct syntax:

  • {{#lookupIssues}} {{key}} {{/}}
    is the standard where you get a complete list of keys.
  • {{#lookupIssues}}{{key}} - {{summary}} - {{status}} - {{url}}{{^last}},{{/}}{{/}}
    if you want the key - summary - status - url combined values separated by commas.

Reference for this: Atlassian smart values page

Kind regards,

Dick

 

Armando Calvache February 12, 2025

It doesn't work when I type that. Do you know if the fact that nothing is printed in the mail is due to an error in the lookup issues block?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events