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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

Workflow Validator - Multiselect Field (Cloud)

I currently setting up a workflow validator in Jira Cloud using Scriptrunner.

I was able to get the value of a single select field like this: issue.customfield_10040.value == 'Home' 

Now I'm trying to get the values of a multi select field but it's not working. 

I used issue.customfield_10039[0].value == "USA" but as the field can have up to 10 entries this seems not to be the right way. 

What am I doing wrong here? I hope somebody can help me.


Thank you.

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 24, 2022

Multi-select fields hold arrays of values, even when there is only one selected.  You'll need to iterate through the array to find your value.  

@Nic Brough -Adaptavist- Thank you for your reply. Can I do this in a workflow validator. I could only saw the function in the Script Console.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events