Team ScriptRunner,
Greetings.
We are using Adaptavist ScriptRunner for JIRA Standard Edition plugin v3.1.4 in many JIRA 6.3.15 instances. When we attempt to use the Custom script condition feature in one instance, the Script file field appears, but the field does not appear in another JIRA instance per the attached screen shots. How can we remedy this bug?
Many thanks for your timely response!
CAT ScriptRunner with Script file Field.pngITG ScriptRunner with No Script file Field.png
Thanos,
The source/solution of this problem is documented below, and I apologize for any inconveniences we caused you.
"This was caused from adding the code packages to the runtime directory. During startup, it appears that the system was picking up these packages either first or overwriting the normal packages used by the plugin. Because of this, it was missing some of the needed packages related to formatting. Once these packages were removed, the problem was fixed."
Thanks again for your willingness to support us.
Hi Jeff,
I found this, still open, issue https://jamieechlin.atlassian.net/browse/GRV-534, which may apply to your case as well.
Kind regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mark/Thanos,
Greetings.
The log feedback from the instance jira-admin follows:
I saw an error (Warning/INFO actually) earlier but have been unable to reproduce it. It looks like this. The part about 'UserCustomScriptEndpoint.getUserEndpoint' is interesting:
In atlassian-jira.log:
2015-12-01 08:01:47,274 http-bio-8527-exec-13 INFO 481x13x6 46pei5 XX.X.XX.XX,XX.X.XXX.XX /plugins/servlet/gadgets/ifr [jira.gadgets.system.MarketingGadgetSpecProvider] IO error retrieving Atlassian JIRA News gadget from 'http://www.atlassian.com/gadgets/news.xml': Connection to http://www.atlassian.com refused
In catalina.out:
Dec 01, 2015 8:01:47 AM com.sun.jersey.spi.inject.Errors processErrorMessages
WARNING: The following warnings have been detected with resource and/or provider classes:
WARNING: A HTTP GET method, public javax.ws.rs.core.Response com.onresolve.scriptrunner.runner.rest.common.UserCustomScriptEndpoint.getUserEndpoint(java.lang.String,javax.ws.rs.core.UriInfo,java.lang.String,javax.servlet.http.HttpServletRequest), should not consume any entity.
WARNING: A sub-resource method, public javax.ws.rs.core.Response com.onresolve.scriptrunner.runner.rest.common.UserMessageEndpoint.getMessage(javax.servlet.http.HttpServletRequest), with URI template, "/", is treated as a resource method
2015-12-01 08:01:47,274 http-bio-8527-exec-13 INFO 481x13x6 46pei5 XX.X.XX.XX,XX.X.XXX.XX /plugins/servlet/gadgets/ifr [jira.gadgets.system.MarketingGadgetSpecProvider] IO error retrieving Atlassian JIRA News gadget from 'http://www.atlassian.com/gadgets/news.xml': Connection to http://www.atlassian.com refused
We look forward to your reply.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jeff,
I presume you got to the attached screens by the following:
I also presume you are using ScriptRunner 3.1.4 on both your "CAT" and "Integration" instances?
Perhaps you could try using the latest compatible version of ScriptRunner together with an evaluation licence to see if the problem still exists?
Also, as Thanos asked. Could you please check if you see any error message in the log file of the "Integration" instance of JIRA?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jeff, Are you getting any errors in your logs ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.