Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to remove a ScriptRunner Script that keeps causing Jira to crash?

Diane Burns March 30, 2020

Made an edit to a ScriptRunner scripted field that is now causing Jira to crash everytime someone tries to login.  Had to remove ScriptRunner from the plugin directory in order to get the Jira back up and running.

Does anyone know how to identify the script in the database or flatfile on the system that the Jira is installed, so I can put the ScriptRunner back and not have it crash Jira?

This is causing multiple issues with our system and needs to be fixed ASAP.

HELP???

1 answer

1 accepted

0 votes
Answer accepted
Katy Kelly
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 30, 2020

Hi Diane,

As mentioned in your support ticket, we store scripted fields in a big json file all together. You cannot just remove one field by deleting a row. You would have to find the table where they live, get the json out, modify it to remove the invalid field, then update the database again with the manually modified json. 

What you likely need to do is make it so no one can log in so that the Admin can go directly to the ScriptRunner Admin area after enabling it and delete the script field before it gets triggered. Scripted Fields should not run unless someone looks at an issue, updates an issue or indexes. 

Kind regards,

Katy

Adaptavist Product Support 

Suggest an answer

Log in or Sign up to answer