Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-65724

When trying to delete a user, if the username contains special characters like "@","#","%" and others, the JQL generated to locate user's existent issues does not work.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 7.4.0, 7.3.6, 7.5.2
    • None

    Description

      Issue Summary
      • When trying to delete a user, if the username contains special characters like "@","#","%" and others, the JQL generated to locate user's existent issues does not work.

      Error thread:

      The character '@' is a reserved JQL character. You must enclose it in a string or use the escape '\u0040\ instead.

      Steps to Reproduce
      • Go to JIRA Administration > User management.
      • From the right "..." select "Delete User"
      • JIRA will indicate that the user is included in existent issues, and provide a link to search for them:
        )
      • Click on the link
      Expected Behavior
      • JIRA shows a list of the issues where the selected user is involved
      Actual Behavior
      • JIRA displays a JQL error:
      Cause
      • JIRA not considering that special characters break JQL queries when generating the search query.
      Workaround
      • After the JQL gives the error, encase the username in quote marks ("...") and the search will work:

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          23 kB
        2. screenshot-2.png
          screenshot-2.png
          21 kB
        3. screenshot-3.png
          screenshot-3.png
          43 kB
        4. screenshot-4.png
          screenshot-4.png
          51 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rchiquete Rene C. [Atlassian Cloud Support]
              Votes:
              9 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated: