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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,554,247
Community Members
 
Community Events
184
Community Groups

Automation for-each loop

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

3 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.
Jul 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

 

Thank you, it works!

Like # 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.
Jul 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!
Apr 27, 2023

Stefan,

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

Like Stefan Salzl likes 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.
Apr 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
Site Admin
TAGS
AUG Leaders

Atlassian Community Events