LookupIssues iteration not working

Massimiliano Stretti May 8, 2024

Hi all,

i have several projects. In one of that i have an automation multiproject.

I have to iterate issues linked to a selected one with link type '6031558'

Screenshot 2024-05-08 151712.png

My automation steps:

1. get 

Screenshot 2024-05-08 151941.png

2. log of {{lookupIssues.size|0}}

Result:

Screenshot 2024-05-08 152148.png

It find just 1 item linked. And if log into description field this:

{{issue.fields.description}}
{{#lookupIssues}}
{{url}}
{{/}}

 

It write only the first item linked (OCM-2022 in the first image)

Someone can help me?

Thank you

 

1 answer

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.
May 8, 2024

Hi @Massimiliano Stretti 

For a question like this, please post an image of your complete automation rule, 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.  Those will provide context for the community to offer ideas.  Thanks!

Until we see those...

What problem are you trying to solve by doing this?  That is, "why do this"?

You seem to indicate this rule is for multiple projects.  What is the scope of the rule: single-project for OCM, global, or multiple projects?

Kind regards,
Bill

Suggest an answer

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

Atlassian Community Events