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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

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>

Suggest an answer

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

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

858 views 14 20
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