...
Navigate to the intended workflow to make the necessary changes in the edit mode.
Select the required transition.
Select the Post functions Validators tab and click
Add post functionvalidator
.Add the “Scripted (Groovy) Validator (JMWE app)” validator
Add the below Groovy script:
Code Block language groovy def parentId = issue.get("customfield_11601")?.get(null)?.optionId if(!parentId) return false def childOptions = issue.getAvailableOptions("customfield_11601").rootOptions.find{it.optionId == parentId}?.childOptions if(childOptions) return !!issue.get("customfield_11601")?.get("1")?.value return true
...