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