ERROR when copying single select list values to a multi select list

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)

3 answers

1 accepted

0 votes
Accepted answer

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

0 votes

Which version of ScriptRunner and JIRA are you using?

JIra Version: v6.3.14

Script Runner Version: 4.1.3.15

Thanks

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,296 views 12 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you