-
Type:
Bug
-
Status: Done (View Workflow)
-
Priority:
Trivial
-
Resolution: Won't Fix
-
Affects Version/s: 5.5.9
-
Fix Version/s: None
-
Component/s: Built-in Scripts
-
Labels:None
-
Critical Points:0.3
Problem
Create a valid custom listener and an error throws in the browser console after run Script Registry. However, the Script Registry does not show any error message in the UI:
Steps to reproduce it
- On the filesystem, create a $JIRA_HOME/scripts/testlistener.groovy file containing 'return "Hello";'
- Go to Listeners, click 'Create Listener' and choose 'Custom Listener'.
- Select All Projects (doesn't really matter), All Issue Events, and Script File 'testlistener.groovy'.
- Click 'Update' to save the listener
- Click the 'Built-in Scripts' tab, then 'Script registry'
- Open the Network tab in your browser, and watch atlassian-jira.log
- Click 'Run'. In amongst the 200 responses you'll see a 500 response, and a stacktrace.
- is related to
-
SRJIRA-4638 Behaviour page fails to load - Cannot read property 'scriptPath' of undefined
-
- Done
-
-
SRJIRA-4661 Behaviour edit endpoint - validation if either script or scriptPath exists in payload
-
- To Do
-