Hi!
I need a Behaviours Plugin Validation script, which will copy first "Select List(Single choice)" custom field all options to another "Select List(Cascading) into 'first list' options and 'second list' options should take all options from second "Select List(Single choice)" custom field options.
Any class names, methods or even script examples are appreciated.
Thanks.
What's the point of this? You will just end up with a long list of options for the cascading field that contains the Cartesian product of both single selects options.
Hi Jamie,
I Have 5 Select List(Cascading) custom fields are required for a user to give input on "how many(i,e 5 in number as of now) JIRA issues to be cloned" based on the selected mapping values.
But other 2 Select List(Single choice) custom field values[i,e one for Server component, and other one for Subsystem)will be chosen while creating a parent issue using the form/screen by selecting the specific Server component and Subsystem values - single JIRA issue only will be possible to create using the Create screen/form.
I hope this clarifies my original requirement.
So I am need of copying 2 Select List(Single choice) custom field values into the 5 Select List(Cascading) custom fields as values of these fields are same in my project.
Means, whenever 2 Select List(Single choice) custom field values are added newly, script should able to copy/append same values into Select List(Cascading) custom fields in first list, second list options respectively ..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the closest example. The second part explains how to create an Option, which is what you need by the sounds of things: https://scriptrunner.adaptavist.com/latest/jira/recipes/behaviours/select-list-other.html
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.