This appears to be a bug in 4.1.3.9, and should be fixed in 4.1.3.10.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no log output at all in the Atlassian logs when I run this script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I appreciate you might have said this before, but I need to double-check, also 3.0.16 is mentioned above.
Did you already have a support ticket for this? If not can you create one at productsupport.adaptavist.com/servicedesk/customer/portal/2.
In addition, can you first run the following in the script console:
import org.apache.log4j.Level import org.apache.log4j.Logger Logger.getLogger("com.atlassian.ozymandias").setLevel(Level.DEBUG)
And then reproduce the issue, then attach your logs to the ticket.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
All versions are mentioned above. Here again:
Our full setup:
JIRA v6.4.7#64022-sha1:4cb2968
Adaptavist ScriptRunner for JIRA 4.1.3.9
Agile Poker for JIRA Plugin 2.0.6 (Disabled)
AM Utils 1.3.5
Atlassian Hipchat Integration Plugin 7.4.1
Atlassian Hipchat Integration Plugin Core 7.4.1
Atlassian JIRA - Plugins - Healthcheck Plugin 1.1.6
Atlassian Universal Plugin Manager Plugin 2.20.6
Bitbucket Importer Plugin for JIM 1.0.15
BizDock JIRA plugin 1.0.0
HipChat for JIRA 7.4.1 (Disabled)
Issue Templates for JIRA (Gold Edition) 4.6.1.1
JIRA Agile 6.7.11
JIRA Calendar Plugin 2.1.11
JIRA Charting Plugin 1.33
JIRA GitHub Issue Importer 2.0.10
JIRA iCalendar Plugin 1.4.6
jira-importers-plugin 7.1.8
JIRA Suite Utilities 1.4.10
JIRA Toolkit Plugin 0.35.11
JIRA Traffic-Light CustomField 1.6
Jolokia Agent for Atlassian 0.2
Redmine Importers Plugin for JIM 2.1.4 (Disabled)
Support Healthcheck Plugin 2.0.6
Support Tools Plugin 3.7.22
I have uninstalled and reinstalled and restarted several times. No luck.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What version of the plugin are you using?
After installing/uninstalling JIRA Agile when ScriptRunner is installed, JIRA can get into a pathological state, where you need to restart it. Have you restarted?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can see the error exists also for others:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark
I tried figure out what is happening with Atlassian support. We did not succeed, so I need help from you guys again. How can I get the information where the error comes from, what query is done that causes the error?
Best regards
Benjamin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark
I opened a JSW ticket and a support request with Atlassian. There was nothing found.
What can be told is, that once ScriptRunner is disabled, everything works fine. As soon as it is on, we get errors on issue search and all functions with sprints and boards are not working. So it does look like an issue of ScriptRunner. What can I provide to help solving this issue?
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark
I have uninstalled and installed Agile and it did not solve the issue. So I agree, it looks like an agile issue. Therefore I opened https://answers.atlassian.com/questions/37544653 in hope to get help.
Once that is solved and I still have an issue with the Script Runner functions I will update the question here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Benjamin,
The suspicious log entries tend to suggest combined with the fact all 309 of your modules are still enabled suggests you may have 10 or so corrupt modules.
I see that you already disabled and then enabled JIRA Agile and that you cleaned up your plugin cache.
This AA articles mentions possible corrupted JIRA Agile modules after an upgrade and has steps you may want to take on your staging instance (essentially uninstall and then install JIRA Agile).
It's hard to diagnose this as a ScriptRunner problem when the only log entries refer to JIRA Agile.
Have you raised an issue on JAC for JIRA Agile (key JSW) as it seems you might have a problem there?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Result is: com.pyxis.greenhopper.JIRA
and no log output at all and nothing in the logs files either.
I also did the integrity check which passed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Would you be able to run the following code in the script console and put the output and any logs after running here please to help us narrow down the problem:
import com.atlassian.plugin.Plugin; import com.atlassian.plugin.PluginAccessor; import com.atlassian.sal.api.component.ComponentLocator; Class.forName("com.atlassian.jira.component.ComponentAccessor"); PluginAccessor pluginAccessor = ComponentLocator.getComponent(PluginAccessor.class); Plugin plugin = pluginAccessor.getPlugin("com.pyxis.greenhopper.jira");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have upgraded agile when 6.7.11 was released in December. We did not experience any issues then and have not seen any errors. Now last week we bought and installed Script Runner and it never worked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Has anything changed recently? Did you get this after upgrading JIRA agile and did it ever work for you? It looks like some of the JIRA Agile plugin is not being started correctly for some reason. Have you noticed any problems when using the JIRA Agile plugin features?
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.
Do you get the same error with the previous and nextSprint JQL functions? I'm assuming you do.
https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_nextsprint
https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_previoussprint
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.
java version "1.7.0_55"
With all other plugins disabled it did not work either.
No error nor warn messages during reinstall. Reindexed and restarted.
The only suspicious log entries would be those:
2016-03-10 13:36:13,377 main INFO [atlassian.plugin.manager.DefaultPluginManager] Returned module for key 'com.pyxis.greenhopper.jira:greenhopper-agile-shortcut' was null. Not enabling. 2016-03-10 13:36:13,377 main INFO [atlassian.plugin.manager.DefaultPluginManager] Returned module for key 'com.pyxis.greenhopper.jira:greenhopper-taskboard-shortcut' was null. Not enabling. 2016-03-10 13:36:13,378 main INFO [atlassian.plugin.manager.DefaultPluginManager] Returned module for key 'com.pyxis.greenhopper.jira:greenhopper-chartboard-shortcut' was null. Not enabling. 2016-03-10 13:36:13,378 main INFO [atlassian.plugin.manager.DefaultPluginManager] Returned module for key 'com.pyxis.greenhopper.jira:greenhopper-releasedboard-shortcut' was null. Not enabling. 2016-03-10 13:36:13,378 main INFO [atlassian.plugin.manager.DefaultPluginManager] Returned module for key 'com.pyxis.greenhopper.jira:greenhopper-boardsearch-shortcut' was null. Not enabling. 2016-03-10 13:36:13,378 main INFO [atlassian.plugin.manager.DefaultPluginManager] Returned module for key 'com.pyxis.greenhopper.jira:greenhopper-nextcolumn-shortcut' was null. Not enabling. 2016-03-10 13:36:13,378 main INFO [atlassian.plugin.manager.DefaultPluginManager] Returned module for key 'com.pyxis.greenhopper.jira:greenhopper-prevcolumn-shortcut' was null. Not enabling. 2016-03-10 13:36:13,379 main INFO [atlassian.plugin.manager.DefaultPluginManager] Returned module for key 'com.pyxis.greenhopper.jira:greenhopper-toggledetailview-shortcut' was null. Not enabling. 2016-03-10 13:36:13,379 main INFO [atlassian.plugin.manager.DefaultPluginManager] Returned module for key 'com.pyxis.greenhopper.jira:greenhopper-priority-shortcut' was null. Not enabling. 2016-03-10 13:36:13,379 main INFO [atlassian.plugin.manager.DefaultPluginManager] Returned module for key 'com.pyxis.greenhopper.jira:greenhopper-delete-shortcut' was null. Not enabling.
But all 309 agile modules are enabled.
Otherwise nothing and still the same errors.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you try disabling the other plugins on your test instance then reinstall JIRA Agile first and then reinstall ScriptRunner last to see if that has any effect to rule out possible interactions.
What is your "Java Version" from System Info? I tried on different Java versions but could not reproduce this.
Do you see any messages in the logs when installing ScriptRunner like: "This is JIRA Agile prior to the most recent supported version, functions won't work" or any exceptions in the logs?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Adam
Restart did not solve the issue. I was also able to reproduce on our testing environment.
Our full setup:
JIRA v6.4.7#64022-sha1:4cb2968
Adaptavist ScriptRunner for JIRA 4.1.3.9
Agile Poker for JIRA Plugin 2.0.6 (Disabled)
AM Utils 1.3.5
Atlassian Hipchat Integration Plugin 7.4.1
Atlassian Hipchat Integration Plugin Core 7.4.1
Atlassian JIRA - Plugins - Healthcheck Plugin 1.1.6
Atlassian Universal Plugin Manager Plugin 2.20.6
Bitbucket Importer Plugin for JIM 1.0.15
BizDock JIRA plugin 1.0.0
HipChat for JIRA 7.4.1 (Disabled)
Issue Templates for JIRA (Gold Edition) 4.6.1.1
JIRA Agile 6.7.11
JIRA Calendar Plugin 2.1.11
JIRA Charting Plugin 1.33
JIRA GitHub Issue Importer 2.0.10
JIRA iCalendar Plugin 1.4.6
jira-importers-plugin 7.1.8
JIRA Suite Utilities 1.4.10
JIRA Toolkit Plugin 0.35.11
JIRA Traffic-Light CustomField 1.6
Jolokia Agent for Atlassian 0.2
Redmine Importers Plugin for JIM 2.1.4 (Disabled)
Support Healthcheck Plugin 2.0.6
Support Tools Plugin 3.7.22
I hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Benjamin, we are having trouble reproducing this with the versions you have provided. What version of ScriptRunner do you have?
Did you upgrade anything without restarting? Could you restart JIRA to see if this fixes the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it is on JIRA v6.4.7#64022-sha1:4cb2968 and Agile 6.7.11
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What version of JIRA and JIRA Agile is this on? We are trying to reproduce this issue for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.