Multi-Select List contents dependent on (another) Dropdown List Selection

I am looking to implement the following:

1. A user will make a selection from a dropdown list (customfieldId_11111).

2. Based on the selection from the dropdown list, another field (customfieldId_22222), which is a multi-select field, will display options, which can be selected.

Thanks.

1 answer

Why not using the cascading select custom field?

One user can set only the 1srt component, and other user may choose the 2nd component based on the previous selection.

Or even this plugin? https://marketplace.atlassian.com/plugins/com.sourcesense.jira.plugin.cascadingselect

Is there any requirement to store the values in two separate custom fields?

I did deploy that, but the limitation is that I can only select one item in the cascasded field. I would like the 2nd field to be a multi-select.

Ops, I didn't realized that.

If you're used to coding in Javascript, take a look to the links provided here https://answers.atlassian.com/questions/145476/examples-for-ajs

or here -> http://www.j-tricks.com/1/post/2012/02/some-ajs-tricks.html

The overall process is creating 2 custom fields: single select and multiselect. The multiselect should contain all values from all options of the single-select.

You should embed a script in the multiselect description that reads the single-select value and enables/disables the corresponding options in the multiselect.

HTH

Would you have the JS code to do this? Thanks.

Hi. I have a similar query. Do you have a solution for this?

 

Thanks  I need to be able to have default value for the second field while I am choosing the first field. can you help me please?

Thanks

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,197 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