I cannot expand/access/manage an add-on. The error comes from the underlying call to
https://<serverurl>/rest/plugins/1.0/com.onresolve.jira.groovy.groovyrunner-key
This gives a 500 - Invalid module key specified
Whatever I do, I cannot seem to fix it. The add-on seems to function ok.
Other endpoints do work: eg. /rest/plugins/1.0/com.onresolve.jira.groovy.groovyrunner-key/license
Adaptavist released the version 6.19.0 that fix this issue: https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=server&tab=versions
I installed it and it solved the problem
Hi Dimitri C,
We have exactly the same problem here. I'm interested if you found a solution to solve this problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I finally ended up deleting the plugin in the database directly and manually removing the jar file, and re-install. That was the only way
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your prompt answer Dimitri C !!
What is the SQL query to remove the plugin in the database?
What about all scripts and custom fields already created? Are they removed as well?
I already tried to remove the jar file and re-upload it but it did not work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can't seem to locate it right now, but you can also try via REST;
DELETE /rest/plugins/1.0/${plugin.key}-key
no, it doesn't remove the scripts & fields, they'll just error. WHen re-installing the plugin all should be ok again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I managed to delete it via REST. I tried to install the latest version from UPM. The installation finished with the same error "invalid module key specified" !
However the addon seems to be installed with the latest version, but it is not manageable, which can be a problem to apply a new license for instance. This issue make me crazy. Let's hope that Adaptavist support will find a way to solve this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem has finally been solved by Adaptavist support in our case. https://productsupport.adaptavist.com/browse/SRPLAT-1442
It came from a Scriptrunner Fragment configured with the Key field empty.
The version 6.19.0 will contains a fix for this bug.
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.