Why do i get the below ERROR when trying to copy values from a Single Select to a Multi Select List.
(I am using the Script Runner Plugins Built in Scripts to copy values among fields.
https://scriptrunner.adaptavist.com/latest/jira/builtin-scripts.html#_copy_custom_field_values)
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)
This is a bug unfortunately. Please track this issue to see when the fix will go out: https://productsupport.adaptavist.com/browse/SRJIRA-1995
Thanks,
Adam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
JIra Version: v6.3.14
Script Runner Version: 4.1.3.15
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which version of ScriptRunner and JIRA are you using?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.