How to get system field value and its size in jira

I have a system field with name "Component/s". It is a multi select box which consists of components. Now i want to get the values of which are selected in that multi select box and how many items selected in that multi select box.

Please provide groovy script code to place in validator.

Thanks in advance.

1 answer

This widget could not be displayed.

Hi, Nanda.

I think this answer may be useful to you.

Kind regards,
Jaime Kirch da Silveira
Atlassian Cloud Support

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

223 views 1 3
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you