Hi,
In JIRA Automation, I try to send an email with a list of issues returned by the trigger JQL.
I'm using {{issues}} but it send me one email at a time. I want to have all in one email.
How can I have this?
Tks
Hi @Beauvois Sebastien -- Welcome to the Atlassian Community!
For a question like this, context is important for the community to help. Please post the following:
Until we see those...
The plural smart value {{issues}} only works with Jira Server and Data Center versions of automation using the bulk-handling feature: https://confluence.atlassian.com/automation103/run-a-rule-against-issues-in-bulk-1488594794.html
If you are using the Scheduled trigger (or a branch) did you enable the option to make that smart value work?
When you already have branching in the rule and want to send a single email with issues, the Lookup Issues action may be used for newer versions of Data Center automation. Please note that is limited to only a small number of fields. When more are needed, the REST API must be used (with the Send Web Request action) as a workaround.
Kind regards,
Bill
It si a very simple rule
A Scheduled trigger with JQL
Send email
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you enable the option "Process all issues produced by this trigger in bulk"?
When you do that, the plural {{issues}} smart value will work. Please see the documentation link I provided.
Also, the {{lookupIssues}} smart value only works after first using the Lookup Issues action. That does not appear to be needed for your rule.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Beauvois Sebastien and Welcome to Atlassian Community!
Try out using Lookup issues action:
Then create Send email action and use {{lookupIssues.key}} smart value:
As a result you will get such email:
The key feature here is to use {{lookupIssues.key}} smart values, which allow you to send multiple issues in a batch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, no it doesn´t work.
I thought "{{lookupIssues.key}} " would be only for CLOUD not JIRA DATA CENTER.
I received several email and all are empty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Beauvois Sebastien hope you're doing well!
Yeah, sorry, i provided solutions for Cloud version. In your DC case have you tried this checkbox?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, the issue was with this checkbox. I didn't found it at first.
It's quite hidden to be honest.
Thank you!
REgards
Seb
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great, thank you!
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.