Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is it possible to send an automated email from a JQL Filter

Hi,

I have to email customers on a weekly basis with a summary of their tickets, both open and resolved.  I have set up a few JQL filters to show me these results, but i cant figure out a way to use automation to send out an email, showing the filter results.

The results do go to people outside of our Jira system, so i am not able to use subscriptions to use this.

Does anyone have any examples of what the automation rule would look like?  

Thanks,

2 answers

1 accepted

1 vote
Answer accepted
Muhammad Ramzan Community Leader Feb 22, 2021

Hi @Dan Allenby

Welcome to the community, you can easily achieve your goal as follows

1. Setup scheduled trigger

2. Select "Lookup issues" as the action and put in your JQL(issues you want to send)

3. Setup email action which can now access the data from the looked up issues

 

Example

automation sample.png

Thanks @Muhammad Ramzan  

Is there a way to pull this data out as a table with headings?  Similar to when you can export from a filter?

I have attempted some testing today, but it looks a bit clunky and these will be client facing reports.  I also need to do some further testing with what details i can get, as i tried to get created date and resolved date but it shows as below.  I also tried to get the status but it shows the number instead of the actual statusScreenshot 2021-02-23 at 15.51.36.png

Muhammad Ramzan Community Leader Feb 23, 2021

Hi @Dan Allenby ,

 

Please try something like this , it will generate email in html table format  you can further format it as per your needs.

 

In first row , its headings

In second row, its data in a loop

<table>
<tr>
<td>issuetype</td>
<td>key</td>
<td>summary</td>
</tr>
{{#lookupIssues}}
<tr>
<td>{{issuetype.name}}</td>
<td>{{key}}</td>
<td>{{summary}}</td>
<tr>
{{/}}
</table>
Like AndyTuba Sacher likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

377 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you