I stuck with the problem in automation rule.
I lookup for 3 issue with summary SUM1, SUM2, SUM3 and then I want to create 3 new issue based on the found ones with different types - also SUM1, SUM2, SUM3
I need to propagate summary from these 3 found to the 3 new.
I have tried branch but when in Summary I type - {{lookupIssues.summary}} I have received 3 new issues but every has summary "SUM1 SUM2 SUM3".
How to solve it?
I want to have it dynamic if I will lookup for different ammount of tasks.
Hi Paulina and welcome to the Atlassian community!
After the lookup issues action you should use a FOR EACH: add a branch action and choose Advanced Branching.
As a smart value you can use {{lookupIssues}} and as variable name issue
Now you can add actions in the branch and use {{issue.summary}} to refer to the summary of each individual issue.
When using {{lookupIssues.summary}} you refer to the summary of ALL found issues. That's why you need to loop through them :-)
Thank you for help!
It was not working for me with variable name issue probably because I created task which have parent, but while I change to test and use it proper in refer it is working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ok glad I could help!
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.