Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,703
Community Members
 
Community Events
176
Community Groups

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

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

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 Jewel Darger-Sacher likes this

Hi @Muhammad Ramzan I was trying to do this on my end but weirdly I only got spaces and title of the issue. 

What I want to do was embed the results of the query along with their columns. is that possible? 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events