Processing bulk results in an email

Thomas Whiston September 9, 2017

Hi,

I'd like to use automation to produce a 'Summary Email' of issues due this week, this seems simple enough with a scheduled task and some JQL, but I'm struggling with how to process the email details in the template once I select the option to process the results in bulk. Is there a way to find out the keys available in the email template or what the variable name is to iterate over?

Thanks!

1 answer

1 accepted

1 vote
Answer accepted
andreas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 10, 2017

Hi Thomas,

currently we don't support sending a single notification for many issues that well. We have https://codebarrel.atlassian.net/browse/AUT-105 open to track this request currently.

If you are in server though, you can select the "Process all issues produced by this trigger in bulk" under the "More options" menu in your scheduled trigger.

Then in your e-mail template, you can iterate over the issues like this:

{{#issues}}
* {{key}} - {{summary}}
{{/}}

This would produce a list like this:

* TEST-124 - first issue summary
* TEST-125 - second issue summary

Cheers,

   Andreas

Thomas Whiston September 11, 2017

That iteration will do the job for me. Thanks a lot!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events