Forums

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

Automation - Format Email

Bruno Miranda July 28, 2022

Hello, community!

I hope everyone's okay!!!

I currently have the administrator profile in 160 JIRA projects, and I have configured 15 automations for each project, that sends email notifications.

I need to decrease the volume of email sent daily.

The automation configuration is:

Scheduled: with a JQL query for each automation;

Advanced compare condition: Sends email only if the query returns some value;

Send email: Send an email with a summary of the affected items.

 

Automação 1.JPG

body of the email:

{{#issues}}
<li> <a href="{{toUrl}}">{{key}} - {{summary}}</a> <b>
{{/}}

 

The idea is to use the same structure, with the FILTER function to unify the 15 JQL queries.

And it works well, what I need is to differentiate the information from each query in the body of the email.

For instance:

1st Rules:
• assignee KEY-707 - Summary
• assignee KEY-684 - Summary

2nd Rules:
• assignee KEY-651 - Summary
• assignee KEY-592 - Summary
• assignee KEY-518 - Summary

3rd Rules:
• assignee KEY-517 - Summary
• assignee KEY-516 - Summary
• assignee KEY-515 - Summary

1 answer

0 votes
Benjamin
Community Champion
July 28, 2022

HI @Bruno Miranda ,

 

If it's just JQL filters, may want to use filter subscription instead. Allow the users themselves set what they would like to see and then they can decide the frequency they would like or unsubscribe if they no longer need the notification. This gives the users control over would they would like to receive.

 

-Ben

Bruno Miranda July 29, 2022

Hello @Benjamin!

Yes, it's 15 JQL filters.
Using the filter signature, is sending the email for each JQL query?

Is there any smart value that to inform the name of the JQL filter?

Benjamin
Community Champion
July 29, 2022

Hi @Bruno Miranda ,

 

Great. Yes, it will send an e-mail for each query and end-user can decide how often they want them.

 

https://www.atlassian.com/blog/jira-software/jql-the-most-flexible-way-to-search-jira-3-of-4

 

I didn't see any smart value in the Jira documentation. Here it is in case you need it:

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/

 

-Ben

Bruno Miranda August 1, 2022

@Benjamin 

Thank you very much!

Like Benjamin likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events