Scriptrunner(validator) stacktrace on workflow transition. Normal?

In Jira 5.2.2, I'm using Scriptrunner 2.1.3 to create various workflow transition validators. Works great. When the conditions evaluates true no issues but if the condition evaluates to false then from a workflow it works fine but if I check the catalina.out log file, large stack traces are generated. It generates an InvalidInputException

Here's an example of the condition code:

cfValues['Planned For'] == null || cfValues['Planned For']*.getName() == ["main"]

If the Planned For is set to another version, the expected error message is generated in the Jira pop up window but the following stack trace is generated. Can I disable or minimize the size of this outputi.e.

2013-05-27 19:32:25,851 http-bio-8080-exec-291 ERROR ebreweb 1172x200671x1 o443jb, /secure/CommentAssignIssue.jspa [atlassian.jira.workflow.OSWorkflowManager] Caught exception while attempting to perform action 261 from workflow 21754 on issue 'TBN-34'
[InvalidInputException: [Error map: [{assignee=An Issue can only be assigned to yourself else management will assign it.}]] [Error list: [[]]]
at sun.reflect.GeneratedConstructorAccessor1662.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(
at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(
at org.codehaus.groovy.runtime.callsite.ConstructorSite.callConstructor(
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(
at com.onresolve.jira.groovy.canned.workflow.validators.SimpleScriptedValidator.doScript(SimpleScriptedValidator.groovy:63)
at com.onresolve.jira.groovy.canned.CannedScript$ Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(
at com.onresolve.jira.groovy.canned.CannedScript$ Source)

..... more text deleted

1 answer

1 accepted

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,903 views 19 22
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