Hi everyone,
New groovy user here, and I've been trying to figure out a scriptrunner behavior for how to limit values within a single select custom field based on the option selected within an above single select custom field.
A quick google search brings you to several "answers" for this question; but the current behavior editor returns errors / issues with every "answer" I've found - hence I'm asking here.
End Goal Example:
Single Select Field #1: "States" (Values = Michigan, Ohio, New York)
Single Select Field #2: "Cities" (Values = Detroit, Saginaw, Dayton, Columbus, New York City, Buffalo)
I want to limit the available values in "Cities" so that only the "Cities" that are within the corresponding "States" are shown:
Michigan = Detroit, Saginaw
Ohio = Dayton, Columbus
New York = New York City, Buffalo
Can someone please help us with this issue?
Thanks,
Mike