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:
Click the Copy Logs button and save the result into a text file. Create a HAR file after reproducing the error again.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?
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.
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
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.