CF multi select request

Hello!

I have a CF multi select in my project and I need to set off the second column as requirement.

How can I do this?

 

modulo.JPG

1 answer

1 accepted

1 vote

That's a "cascading select", not a "multi select".  I'm not sure what you mean by "set off" when you're talking about doing something to the second column?

Hi Nic! I need the value of second column be required too. this value is used to set my SLA time.

Ah, thanks, that explains it.

I'm afraid you need code.  If you have the Script Runner add-on, you can put validators into the workflow to force entry (my notes say the single line cfValues['your cascading field']?.values()*.value.size() == 2 will do it, but I did make those notes when working with JIRA 5).  You might also be able to do it with the Behaviours function.

If you don't have Script Runner, you'll need to find or write another add-on to be able to provide a validator

noo code nooo!!! if I use Behaviours function, how is this work?

for the code, i need to a line for a option in my list?

 

 

Apologies, I missed the response.

I don't use Behaviours enough to answer that directly.  In general, I can tell you that you should create a new Behaviour, which you can tie to a field, and then put conditions on it like "is mandatory when it matches this rule".  You may be able to use the code I gave for doing it in a validator.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,209 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot