Jira issue after upgrade (5.x -> 7.1.x)

After upgrading to JIRA 7.1.x, I keep seeing this issue in the logs when I view a JIRA issue.  Looks like this is related to behavior plugin.  What should I do to resolve this?

 

2016-05-22 11:43:42,704 http-nio-8080-exec-4 ERROR admin 703x860x1 knzrkb 192.168.112.239 /rest/com.onresolve.jira.plugin.Behaviours/1.0/behaviours/validators.json [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: No signature of method: com.atlassian.jira.project.CachingProjectManager.getProject() is applicable for argument types: (java.lang.Long) values: [10200]     Possible solutions: getProjects(), getProjectObj(java.lang.Long) groovy.lang.MissingMethodException: No signature of method: com.atlassian.jira.project.CachingProjectManager.getProject() is applicable for argument types: (java.lang.Long) values: [10200] Possible solutions: getProjects(), getProjectObj(java.lang.Long)         at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:56)         at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46)         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:122)         at com.onresolve.jira.groovy.Behaviour.initIssue(Behaviour.groovy:419)         at com.onresolve.jira.groovy.Behaviour.getValidators(Behaviour.groovy:312)         at com.onresolve.jira.groovy.Behaviour$getValidators.call(Unknown Source)         at com.onresolve.jira.behaviours.BehaviourManagerImpl.runValidator(BehaviourManagerImpl.groovy:133)         at com.onresolve.jira.behaviours.restservice.BehavioursEndpoint.getValidatorsFromIssueId(BehavioursEndpoint.groovy:57)         ... 3 filtered         at java.lang.reflect.Method.invoke(Method.java:497)         ... 19 filtered         at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154)         ... 1 filtered         at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68)         ... 86 filtered         at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70)         ... 16 filtered         at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37)         ... 78 filtered         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)         at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)         at java.lang.Thread.run(Thread.java:745)

1 answer

0 votes

It is.  Your version of Behaviours is not valid or supported on that version of JIRA.

You need to remove it from your installation and install a working version.  As it's now part of "Script Runner", you'll need to install that instead.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,180 views 5 10
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