Forums

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

Scriptrunner Workflows tab doesn't work

aas
Contributor
September 29, 2025

Hello everyone.

I have a problem, when I go to the workflow tab in scriptrunner it shows error 

 

Sorry, something went wrong

 

Try to hard refresh the page, or switch to another section and then refresh.

If this happens repeatedly:

  1. Click the Copy Logs button and save the result into a text file.
  2. Create a HAR file after reproducing the error again.
  3. Raise a ticket with our support team as instructed here, including the copy of the logs, the HAR file and a screenshot of the page where the error happened.

And TypeError: Cannot read properties of undefined (reading 'id')
What should I do make it work again?

2 answers

0 votes
Jayesh Raghuvanshi
Contributor
September 29, 2025

That means ScriptRunner’s UI is failing to fetch or parse workflow data from Jira.
Here’s how you can systematically fix it:

🔍 Step 1: Check Browser Issues

Do a hard refresh (Ctrl+Shift+R / Cmd+Shift+R).

Try in incognito/private mode or a different browser (rules out caching/extensions issues).

Clear browser cache/cookies if still failing.

🔍 Step 2: Check ScriptRunner Logs

Go to Administration → System → Troubleshooting and Support Tools → Logging and Profiling.

Increase logging for:

com.onresolve.scriptrunner
com.onresolve.scriptrunner.canned.workflow


Retry opening the Workflow tab and check atlassian-jira.log for related stack traces.

🔍 Step 3: Validate Workflows

The error often happens if a workflow or post function is corrupted/missing references.

Go to Jira Admin → Workflows:

Check for inactive workflows with broken conditions, validators, or post functions.

Look for ScriptRunner functions that may have lost script references after upgrade/migration.

🔍 Step 4: Plugin & Version Compatibility

Confirm your ScriptRunner version matches your Jira version.
Example: Jira 9.x requires specific ScriptRunner versions.

If you recently upgraded Jira or ScriptRunner, reinstall ScriptRunner or clear the plugin cache:

Stop Jira.

Delete the contents of <Jira-home>/plugins/.osgi-plugins/ and <Jira-home>/plugins/.bundled-plugins/.

Start Jira again.

🔍 Step 5: Collect Diagnostics if Still Broken

If nothing works:

Use the “Copy Logs” button in the error popup.

Generate a HAR file (from browser dev tools → Network tab).

Capture a screenshot of the error.

Send all of these to Adaptavist Support (support.adaptavist.com
).

✅ In most cases, this error is due to:

Corrupted workflow post function (e.g., ScriptRunner post function pointing to a deleted script).

Version mismatch after Jira/ScriptRunner upgrade.

0 votes
Valerie Knapp
Community Champion
September 29, 2025

Hi @aas , thanks for your post.

I would open a support ticket to ScriptRunner here - https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=datacenter&tab=support 

Best wishes

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events