Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation rule - propagate summary from existing issues to new ones

Paulina Drzazga
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!
October 7, 2024

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.

1 answer

1 vote
Charlie Misonne
Community Champion
October 7, 2024

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 :-)

Paulina Drzazga
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!
October 7, 2024

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.

Charlie Misonne
Community Champion
October 7, 2024

ok glad I could help!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events