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

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

Execute action only once for all JQL results

Edited

I have a scheduled automation (in Automation for Jira Plugin).

Trigger:

- Cron Expression: 0 0 5 1/1 * ? * (At 05:00:00am, every day starting on the 1st, every month)

- JQL: "Organizations = null" (results in multiple tasks)

Action:

- Send Mail: Mail should contain a list of all results in the previously executed JQL query. My approach:

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


The problem is that it sends out n Mails for all results of the JQL query, but I actually only want 1 E-Mail with the complete list of all results. How can I do this?

PS: I also tried using my JQL query as condition and not in the trigger configuration itself, but this is not possible because an Error pops up when publishing: 

The rule has been configured with components that require issues to be provided by the trigger. You need to use the option to run JQL to provide issues. The following components require issues: JQL condition

Thanks in advance.

1 answer

It seems this is not possible yet (*sigh*):

https://codebarrel.atlassian.net/browse/AUT-888

Oh okay, thanks for your input :) 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

59 views 0 5
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