Make Cascade Select apply to more than one child field?

The standard JIRA cascade select field type allows you to create a 2-tier cascading select where the 1st select determines which options appear in the 2nd select.

I've seen a couple of plugins that appear to support N-tier cascading, where the 1st select determines which options appear in the 2nd select, the 2ng select determines which options appear in the 3rd select, etc.

What I am seeking, but haven't found yet, is how I can have a 2-tiered cascading select where the 1st select determines which options appear in 2 seperate selects.

Has anyone else encountered a suitable solution for this?

Thanks in advance...

3 answers

1 accepted

Thanks for reminding me. Here's a link to download the plug-in.

http://tomwilhelm.net/multicascadeselect-1.0.7.jar

The plug-in is released under a simplified BSD License. Details can be found in the LICENSE file in the root of the plugin source code.

We had a custom plugin built to provide this functionality. It will be open source and should be available soon. I'll try to remember to provide a link when one is available.

Can you show me the link.

thanks

You can use Javascript to do this.

Give you some example code.

If Priority is Critical,the "Select Test" custom field select values are "one/two/three"

and if Priority is Major the "Select Test" custom field values are "Value one/Value two/Value three"

Create custom feild "Select Test",the descriptiont contont as follow.

and add select values "one/two/three/value one/value two/value three".

the bond and italic words must be replaced.

==================================================================

<script type="text/javascript">

priority = document.getElementById('priority');

if (priority) {

priority.onchange=function() {

if (this.value == 2) {

target = document.getElementById('customfield_10775');

target.length=1;

target.options.add(new Option("one", 10744));

target.options.add(new Option("two", 10745));

target.options.add(new Option("three", 10746));

} else if (this.value == 3) {

target = document.getElementById('customfield_10775');

target.length=1;

target.options.add(new Option("value one", 10747));

target.options.add(new Option("value two", 10748));

target.options.add(new Option("value three", 10749));

} else {

target.style.display='none';

}

}

}

</script>

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,317 views 14 20
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