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...
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.
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.