This error message points to a syntax issue in your Groovy script, specifically at line 121 in your CreateIssue.groovy file. The part scala.Option$.MODULE$.empty suggests that the script is trying to use Scala-style syntax, which isn’t valid in Groovy. In Groovy, you typically don’t access Scala objects or use the $ notation like that.
To resolve this, you’ll want to:
Check line 121 in your CreateIssue.groovy script for any code that looks like scala.Option$.MODULE$.empty or similar.
Replace it with a Groovy-appropriate way to represent an empty value. For example, if you’re trying to set a field to “no value,” you can usually use null in Groovy.
So, if you have something like:
none = { scala.Option$.MODULE$.empty }
You should change it to:
none = null
If you’re not sure what the script is trying to achieve at that line, you can share just that section of the script (a few lines before and after line 121), and I can help clarify further.