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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

58 views 0 5
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