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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I iterate through a multi-select field in an Automation for Jira flow?




I have a multi-select field called "Teams". When the issue reaches the "Ready for Dev" stage, I want to create a subtask for each option selected in "Teams", populating a single select "Team" field in the sub-task.


Is there a way to iterate through the selected items in the "Teams" field, and run a branch for each selection? I'd also need a custom value to set the single-select Team field to, like {{multiselect.iteration}}.



1 answer

Hi @stringsonfire,

There is a way that I found, but I'm not sure this is the easiest.

When the status = "ready for dev" run:

if "Teams" not empty -> "create issue" and populate the "Team" field with the smart value {{}}

on the more options, add the following:

"update": {
"Teams": [
"remove": {

You can use "re-fetch issue data" and continue the rule if there are more "Teams".

The other option is to change a different field so it will run a different automation rule as long as "Teams" is not empty.

If you don't want to lose the "Teams" field content - you'll need to first copy it into a different field.

Hi @Elad Ben-Noam

Similar to the case above, I have a scenario where I want to create issues on a particular transition. Here instead of Teams i have a multi-user field as "Stakeholders", and for each stakeholder added in this field, I want to create that many number of issues. Till here everything works fine.

The issue is that additionally I also want to set the "Assignee" of each newly created issue to each value in the field "Stakeholder". 

I tried this:

Screenshot 2021-10-27 at 14.20.57.pngScreenshot 2021-10-27 at 14.22.02.png

However, seems that I am missing something.

Could you please help :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Automation

New to Jira Automation - goodbye Cron (sort of), hello new project created trigger, new additions to

Hey Everyone! Simeon from the Automation team here. I'm delighted to share some new features and improvements that we are shipping to Jira automation (Cloud only). Firstly, @Sam Harding&nbsp...

2,876 views 10 23
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you