Hi
Im trying to run this script described here
https://community.atlassian.com/t5/Jira-questions/Scriptrunner-Adding-organizations-when-a-Service-Desk-issue-gets/qaq-p/924365
I want to add organizations from objects in Insight but I get the following errors
GroovyInsightException: startup failed: Script1.groovy: 6: unable to resolve class com.atlassian.servicedesk.api.organization.OrganizationService @ line 6, column 1. import com.atlassian.servicedesk.api.organization.OrganizationService ^ Script1.groovy: 7: unable to resolve class com.atlassian.servicedesk.api.organization.OrganizationsQuery @ line 7, column 1. import com.atlassian.servicedesk.api.organization.OrganizationsQuery ^ Script1.groovy: 5: unable to resolve class com.atlassian.servicedesk.api.ServiceDeskManager @ line 5, column 1. import com.atlassian.servicedesk.api.ServiceDeskManager ^ Script1.groovy: 9: unable to resolve class com.onresolve.scriptrunner.runner.customisers.WithPlugin @ line 9, column 1. import com.onresolve.scriptrunner.runner.customisers.WithPlugin ^ Script1.groovy: 8: unable to resolve class com.onresolve.scriptrunner.runner.customisers.PluginModule @ line 8, column 1. import com.onresolve.scriptrunner.runner.customisers.PluginModule ^ 5 errors '