I am trying to change the value of a cascading field based on what another value is. I'll be using a listener to see when the field changes, but I am really inexperienced with this kind of thing and don't know how to write the script.
My logic: If "Procurement Status" = "Received" then set cascading field "Support Group" = ("Desktop","Support")
Community moderators have prevented the ability to post new answers.
If you are doing this server-side (sounds like you are), there is an example for setting cascading select fvalues here: https://scriptrunner.adaptavist.com/latest/jira/recipes/behaviours/setting-default-fields.html#_setting_cascading_select_values
But I am trying to use a listener, so the behaviours won't work in it
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.