-
Bug
-
Resolution: Duplicate
-
Low
-
None
-
9.4.0, 9.12.0, 9.16.0
-
None
-
9.04
-
Severity 3 - Minor
-
Issue Summary
The admin priorities page allows you to add, edit, and delete issue priorities. Both the add priority dialog (modal) and edit page display a form, which includes an Icon URL field.
The select image link should open a pop-up window with an icon picker. This functionality is not working from the add priority dialog.
Steps to Reproduce
- Navigate to ⚙️ (gear icon) > Issues > Priorities as a Jira administrator.
- Click add priority and then select image.
Expected Results
The icon picker popup opens. After selecting a value, the popup window closes and the Icon URL field is populated.
Actual Results
Nothing. The following error is printed in the browser JavaScript console:
ViewPriorities.jspa:1 Uncaught ReferenceError: openWindow is not defined at HTMLAnchorElement.onclick (ViewPriorities.jspa:1:1)
Workaround
Manually enter a temporary/alternative value in the Icon URL field. Once saved, use the icon picker from the priority's edit page.
Technical background
The add priority dialog loads inline JavaScript to provide the popup's callback function. The web browser is not properly executing this script, so clicking select image causes a ReferenceError. This may be caused by web browser enhancements to reduce a potential XSS risk surface.
- duplicates
-
JRASERVER-76036 Selecting image in Add priority dialog throws an error in console
-
- Short Term Backlog
-