The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to set Multi-select value iteratively

Margots Kapacs
May 2, 2023

Hi,

 

I have a number of days X and I would like to set multi-select field to array of  values  M = {1, 2, ..., X}. I am having difficulty to do so which may be due to fact i don't know exactly how loops are set up in Jira automations. 

 

I am able to have one value X updated but I can't seem to figure out how to trigger a loop to update field with the rest of the values of the array M. So far:

 

forEachValue.jpg

Here it gets days of stay, the number X value

And then i like to edit multi-select issue field to add values from 1, 2,...X

addingValue.jpg

 

 

This works for one value X, however. How to make this into loop from 0 - X to update multi-select field for the rest of values of array M. Or maybe there is better way to set multi-select values automatically. 

 

Thank you for any help

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events