I am trying to unpick something that has been working but seemingly broke a little while back.
We have a Jira project for Contract Management and are using Scriptrunner with a Post Transition Function to add an object to Insight.
We are seeing an error when the Post Function runs:
ViewWorkflowTransition.jspa?workflowMode=live&workflowName=Create+Contract&descriptorTab=postfunctions&workflowTransition=1&highlight=4
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
file:/Path/InsightManagerForScriptrunner.groovy: 750: you tried to assign a value to the class 'java.util.Map'
@ line 750, column 21.
Map.value = Map.value.collect { it.toString() }
^
1 error
Am a bit stumped having not used Scriptrunner previously, what can I check in the script to see what might be causing this?