Details
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
7.12.1
-
7.12
-
1
-
Severity 3 - Minor
-
Description
Summary
When deleting a user, if the user has involved in some issues as assignee and/or reporter, JIRA will display JQL links to those issues. If the username contains a special character, the links do not escape the special character and consequently throw JQL format errors.
Steps to reproduce
- Create a user with this username: fake@localhost (@ is a special character in this case, which is common where username is the same as email address)
- Set the user as reporter of 1 issue and assignee of another
- Go to User Management -> Users -> attempt to Delete fake@localhost
- Confirm that JIRA display 2 JQL links as follows:
- Click the links
Expected behavior
The JQLs work correctly and display the corresponding issues
Actual behavior
JIRA fails to escape the special character and throws a warning:
Workaround
Manually wrap the username inside double quotes and perform the search again e.g.:
reporter in ("fake@localhost") ORDER BY priority ASC