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,
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
Thanks @Muhammad Ramzan(Atlassian Certified Master)
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 status
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Muhammad Ramzan(Atlassian Certified Master) 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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Celine Penaredondo you can remove all the spaces and space breaks or uncheck the box that says - Convert line breaks to HTML line breaks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dan,
Use the lookup function in Automation For Jira. See that section in this document:
https://support.atlassian.com/jira-software-cloud/docs/automation-actions/
You can also see more guidance here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.