Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation for-each loop

Chasovskikh Kirill
Contributor
July 25, 2022

Hi! 

I need to create subtasks from values in a customfield. The known way is to create branches, where i can check - does the customfield contain Value1?  And create subtask, if it contains.

But if i have a lot of values, this way is too hard.

Is there any way to create For-Each loop? For each value in customfield create subtask.

Thank you!

1 answer

1 accepted

5 votes
Answer accepted
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 25, 2022

Hi @Chasovskikh Kirill 

as far as I understood you described 2 different scenarios because the first one would obly be an „if“.

There is a special „for each“ branch that would create a subtask for each value while iterating over a field or a list.

I recently answered a question similar to your requirement. See the following link:

https://community.atlassian.com/t5/Jira-Software-questions/How-to-automatically-create-and-assign-subtasks-in-a-Jira-Team/qaq-p/2084182

 

Hope this is helpful.

Best
Stefan

 

Chasovskikh Kirill
Contributor
July 25, 2022

Thank you, it works!

Like 3 people like this
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 25, 2022

AWESOME!!! Good to know you got that working 💪💪

Best
Stefan

Anmol Khopade
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!
April 27, 2023

Stefan,

This is very helpful. Thanks I too was able to solve my issue using above. Appreciate it

Like 2 people like this
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 28, 2023

@Anmol Khopade 

Great to hear my answer was helpful and you got that working.

Thanks for the feedback.

 

Best

Stefan

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Jira Events