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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Automation: Execute action only once for all JQL results

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

Hi

Try set checkbox 'Process all issues produced by this trigger in bulk'

res.PNG

B.R.

Hi 

Thank you for your reply.
Unfortunately I do not have this option:

image.png

I suppose you are using the server version and maybe I do not have this option because we are using the cloud version. 

Best Regards

Hi,

Could You please check version of the plugin automation and jira?

Administration -> Addons-> manage addons.

B.R.

Hi,

Our Version is: 1.3.1-AC
fyi: I found it under "Manage Apps", maybe also because it's cloud version.

Best Regards

Is there any update/solution on this? I am still looking for this.

Like Anastasia Cora (anco) likes this
Like Anastasia Cora (anco) likes this

Still waiting on this too.


Automation for Jira Version:1.4.1-AC

Like Anastasia Cora (anco) likes this

There is now "Lookup issues" action, which collects issues by JQL. Then you can use tag {{lookupIssues}} ( or in loop {{#lookupIssues}} ) as a smart value in other actions i.e. "Send email".

Suggest an answer

Log in or Sign up to answer
TAGS

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