On JIRA Software 7.2.2 (and Service Desk 3.2.2), Scriptrunner 4.3.7.
When trying the build in script - Switch to a different user, the script throws an exception:
java.lang.NullPointerException: Cannot invoke method getRemoteUserKey() on null object at com.onresolve.scriptrunner.canned.common.AbstractSwitchUser.doValidate(AbstractSwitchUser.groovy:51) at com.onresolve.scriptrunner.canned.CannedScript$doValidate$0.call(Unknown Source) at com.onresolve.scriptrunner.runner.ScriptRunnerImpl.validateAndRunCannedInternal(ScriptRunnerImpl.groovy:415) at com.onresolve.scriptrunner.runner.ScriptRunnerImpl.validateForPreview(ScriptRunnerImpl.groovy:365) at com.onresolve.scriptrunner.runner.rest.AbstractRestEndpoint.previewOrExecCanned(AbstractRestEndpoint.groovy:168) at com.onresolve.scriptrunner.runner.rest.common.CannedScriptEndpoint.previewCanned(CannedScriptEndpoint.groovy:117) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ... 13 filtered
Anybody that have seen this before?
We have just upgraded to the new JIRA and scriptrunner versions.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG