Hi Team,
Can anyone please suggest me on this ?
When creating the ticket, I utilized the script runner behavior to align the issue type with the first option in the cascading dropdown list. During the process, I selected both options from the dropdowns in the cascading list (I have attached a screenshot for your reference)

Whenever I try to edit the ticket, the second drop-down menu keeps switching back to "None" instead of staying on the selected option (I have attached a screenshot for your reference).

Here is the behavior I used Intitilasier.
import com.onresolve.jira.groovy.user.FieldBehaviours
import groovy.transform.BaseScript
@BaseScript FieldBehaviours behaviours
def issueType = issueContext.issueType.name
def cascadingField = getFieldByName('Cascading Field')
if (issueType in ['Issue Type 1', 'Issue Type 2', 'Issue Type 3']) {
cascadingField.setFormValue([issueType])
}