Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I can't use 'Execute in bulk' with Jira Cloud, what is the workaround?

Milan Mainassy
Contributor
October 13, 2020

Hi!

 

What I want

Send a mail with a list of all the issues at the start of a sprint in 1 e-mail .

 

What is the current situtation

I can't use 'Execute in bulk' as it seems with Jira Cloud. That's why I use the "Lookup issues" function in combination with JQL: "Epic Link" = INT-10". The issues are now placed as a list in the mail, however the mail receiver still receives the mail times the number of issues.

Can you help me change the mails into 1? :D

1 answer

1 accepted

1 vote
Answer accepted
John Funk
Community Champion
October 13, 2020

Hi Milan,

Is this a Next-Gen project? Or a Classic Software Project? 

You might look into use an Automation for Jira rule following the LookUpIssues guidance here:

https://community.atlassian.com/t5/Jira-Software-questions/Sending-an-email-with-a-list-of-issues-using-Automation-for-Jira/qaq-p/1192501

Milan Mainassy
Contributor
October 13, 2020

Hi John,

 

It's for a classic Scrum project.

 

The link that you send me is about doing this via the subscription filter. Are you saying it's impossible to do this via automation?

Thanks!

John Funk
Community Champion
October 13, 2020

Yes, it should be able to be done with Automation. Read down that post to an answer by sreuter with this info:

Subject:

So much goodness, we just released awesome app v{{version}}

Content:

<ul>
{{#lookupIssues}}
<li>{{key}} - {{summary}}</li>
{{/}}
</ul>
Milan Mainassy
Contributor
October 13, 2020

Yes, and it gives me a great output, but the mail receiver still receives the mail times the number of issues. Which is the issue here.

John Funk
Community Champion
October 13, 2020

If setup probably in your rule, it should only send a single email with the entire list. 

Can you share the rule you have created? 

Milan Mainassy
Contributor
October 13, 2020

Sure!

 

  • Type of related issues: Issues in the sprint
  • Lookup issues: "Epic Link" = INT-10
  • Send email:  

    Hi,

    This is a test.

    <ul>
    {{#lookupIssues}}
    <li>{{key}} - {{summary}}</li>
    {{/}}
    </ul>


    Grtz

Jira.png

John Funk
Community Champion
October 13, 2020

Can you show the details of the Send email part?

Milan Mainassy
Contributor
October 13, 2020

Sure! jira.png

John Funk
Community Champion
October 13, 2020

I think it is because you have a branch in there. Or you have a double lookupissues - one in the branch and another one in the email. 

Try turning the branch into just a condition. 

This is what my test looks like that works:

screenshot.png

Milan Mainassy
Contributor
October 13, 2020

That worked! Thank you so much!

Like John Funk likes this
John Funk
Community Champion
October 13, 2020

Glad it worked!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events