Attempting to use Scriptrunners built-in script "copy custom field values"
When I run the preview I get 700 issues will be affected, which is correct. However, upon executing, it always comes back with the same error:
Error
undefined
java.lang.NullPointerException at com.atlassian.jira.issue.customfields.impl.MultiSelectCFType.getChangelogString(MultiSelectCFType.java:313) at com.atlassian.jira.issue.customfields.impl.MultiSelectCFType.getChangelogString(MultiSelectCFType.java:83) at com.atlassian.jira.issue.fields.CustomFieldImpl.getChangelogString(CustomFieldImpl.java:481) at com.atlassian.jira.issue.fields.CustomFieldImpl.updateValue(CustomFieldImpl.java:509) at com.atlassian.jira.issue.fields.CustomFieldImpl.updateValue(CustomFieldImpl.java:487) at com.atlassian.jira.issue.fields.OrderableField$updateValue.call(Unknown Source) at com.onresolve.scriptrunner.canned.jira.admin.CopyCustomField.doScript(CopyCustomField.groovy:203)
Both the source and target fields are the same Field Type (multiselect) and have the the same search template (multiselectsearcher) so I'm not sure what the hang up is.
On my target field there are two different multi select configuration schemes (different lists based on project) do I need to define which configuration to copy to somewhere in the script?