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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,353 views 14 19
Read article

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