I followed this script exactly: https://library.adaptavist.com/entity/control-link-directions
But ever since I upgraded ScriptRunner to 7.9.0, I get an error under setFieldOptions(allowedLinks)
"Cannot call com.onresolve.jira.groovy.user.FormField#setFieldOptions(java.util.Map <?, java.lang.String>) with arguments [java.util.Map <java.lang.Object, java.lang.Object>]"
I also tried using https://gist.github.com/qoomon/d49560c7ef805ad409f545ed4964d5c8 but there are still all link types that are showing up when Creating or Editing an issue. What do I need to do to update this script to work?
We have a link type name "MVP" and only a few issue types are allowed to use the outward link for that link type.