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?