Jira automation sends multiple messages instead of one with lookup results.

Євгеній Єрін
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 4, 2025

In my Jira automation, I am performing a "Lookup Issues" action and then sending a webhook to Google Chat. However, I am receiving a large number of messages (around 40), even though the lookup returns only three issues.

How can I modify my automation to send a single message containing a list of the lookup results?

2 answers

0 votes
Bill Sheboy
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.
March 4, 2025

Hi @Євгеній Єрін -- Welcome to the Atlassian Community!

For a question like this, context is important for the community to help.  Please post the following:

  • what type of project is this (e.g., company-managed, team-managed, etc.), 
  • an image of your complete automation rule in a single image for continuity,
  • images of any relevant actions / conditions / branches,
  • an image of the audit log details showing the rule execution, and
  • explain what is not working as expected and why you believe that to be the case.

Until we see those...

From what you describe, the rule may be executing multiple times or the steps do not match the description in your question.  Seeing the details of your rule and the audit log will help identify the cause.  Thanks!

Kind regards,
Bill

0 votes
Kris Dewachter
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 4, 2025

Hi @Євгеній Єрін ,

Welcome to the Atlassian Community.

I'm not sure how your automation rule is constructed. You could try executing your JQL in a "Branch". Then create a "Variable" within that branch, based on all the results of the JQL. And then use that variable in the webhoop action outside the branch.

Best regards,

Kris

Bill Sheboy
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.
March 4, 2025

Hi @Kris Dewachter 

Automation rule branches which could be on more-than-one-thing are executed in parallel and asynchronously, with each pass through the loop using separate process resources. 

A variable created inside of such a branch will not be visible outside, and even if it was visible, such branches are not guaranteed to complete until the last step of the rule; thus the steps defined in the rule immediately after the branch will start executing before the branch completes.

Kind regards,
Bill

Like Kris Dewachter likes this
Kris Dewachter
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 4, 2025

@Bill Sheboy , Thanks for the clarification. Did not know that. Br, Kris

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events