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?
Hi @Євгеній Єрін -- Welcome to the Atlassian Community!
For a question like this, context is important for the community to help. Please post the following:
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bill Sheboy , Thanks for the clarification. Did not know that. Br, Kris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.