Hi,
We are getting an error when trying to move Issue from one type to another and set "Feature Link" field (Single Issue Picker, Scripted field) during the move. We suspect the issue is with this field since if we don't set it during the move but rather before or after, it works fine.
We get an error screen (500) and this error logs:
Technical details
Log's referral number: c6894a63-8986-4433-98d4-84767b67f4aa
Cause
Referer URL: http://vm-jira.sio.lab.emc.com:8080/secure/MoveIssueUpdateFields!default.jspa?id=101016&assignee=null
Assertion failed:
assert issue.projectId // Missing projectId in fieldValues
| |
| null
com.atlassian.jira.issue.IssueImpl@9e5ffcc (toString() == null)
Assertion failed:
assert issue.projectId // Missing projectId in fieldValues
| |
| null
com.atlassian.jira.issue.IssueImpl@9e5ffcc (toString() == null)
at org.codehaus.groovy.runtime.InvokerHelper.assertFailed(InvokerHelper.java:415) [?:?]
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.assertFailed(ScriptBytecodeAdapter.java:670) [?:?]
at com.onresolve.scriptrunner.canned.jira.fields.editable.TemporaryIssueService.populateForCreation(TemporaryIssueService.groovy:78) [?:?]
at com.onresolve.scriptrunner.canned.jira.fields.editable.TemporaryIssueService$populateForCreation.call(Unknown Source) [?:?]
at com.onresolve.scriptrunner.runner.field.IssueParametersCapturingImmutableCustomField.validateParams(IssueParametersCapturingImmutableCustomField.groovy:88) [?:?]
at com.atlassian.jira.web.action.issue.MoveIssueUpdateFields.doValidation(MoveIssueUpdateFields.java:192) [classes/:?]
at webwork.action.ActionSupport.validate(ActionSupport.java:391) [webwork-1.4-atlassian-30.jar:?]
at webwork.action.ActionSupport.execute(ActionSupport.java:162) [webwork-1.4-atlassian-30.jar:?]
at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63) [jira-api-8.5.5.jar:?]
.
.
.
The error message is longer with many more lines but I can't add it due to the message length limitation.
Thanks.