Details
-
Bug
-
Status: Triage
-
Medium
-
Resolution: Unresolved
-
6.40.0
-
None
-
None
-
2.2
Description
Behaviour SetHelptext method returns an Unnecessary Log in to the browser console.
Steps to Reproduce
- Configure a behaviour with the following settings:
- Set an initialiser which use setHelpText on a field
getFieldById("TextFieldB").setHelpText("<script>alert('Hello')</script>")
- Save the behaviour
- Go to create issue screen, and wait for the behaviour to trigger
- Observe browser console log
Expected Behaviour
No console log printed related to the help text
Actual Behaviour
The browser console log will print out the following logs
Workaround
- Use setDescription instead
Additional Info
- I have tested and the issue does not happen on ScriptRunner 6.11