Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Show Values in a cascading field based on Issue Type

Ryan Bullock February 21, 2020

I have two issue types, one called Task and one called Bug

I have a cascading field called Action Item Category with 4 options in the parent, for example value 1, value 2, value 3, value 4. Each has two options in the child, for example value 1A, value 1B, value 2A, value 2B etc. 

If the issue type is Task I only want to show value 1 and value 2 with their corresponding child options.

If the issue type is Bug, I only want the options value 3 and value 4 with their corresponding child options. 

Can anyone suggest a server side script using script runner behaviours to accomplish this? 

1 answer

1 vote
Bharath Kumar Kappala
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 21, 2020

@Ryan Bullock I would not try scripting it on the server side it would be a good idea to use a add-on like script runner or power scripts.

Or the easy way is to create two different cascading drop down fields and then associate one with Task and other with Bug.

Hope this helps!

Ryan Bullock February 21, 2020

I am using the behaviours/scriptrunner add-on which has an option to use server-side script.

Two cascading fields is an option as well

Like Priyanka_Palle likes this

Suggest an answer

Log in or Sign up to answer