The Script file field is not appearing in all of our instances when are attempting to configure a Custom script condition.

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


5 answers

This widget could not be displayed.

Hi Jeff, Are you getting any errors in your logs ?

This widget could not be displayed.

Hi Jeff,

I presume you got to the attached screens by the following:

  1. Go to Workflows then choose Edit
  2. Select the Conditions tab and then "Add Condition" link
  3. Choose "Script Condition"
  4. Choose "Custom Script Condition"

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?

This widget could not be displayed.

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.

 

This widget could not be displayed.

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

This widget could not be displayed.

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

509 views 3 18
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