Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-10988

Agile Sprint Health Gadget avatar search links need quotes around usernames with spaces

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low (View bug fix roadmap)
    • None
    • None
    • None

      NOTE: This bug report is for JIRA Software Server. Using JIRA Software Cloud? See the corresponding bug report.

      In the "Agile Sprint Health Gadget", JIRA displays our team's user avatars and allows us to click on them to see who's doing what this sprint--which is great! However, some users have usernames containing spaces (e.g. "big doggie"). Clicking on these users causes the search to fail with the following error:

      Error in the JQL Query: Expecting either 'OR' or 'AND' but got 'doggie'. (line 1, character 16)

      The query in the search box is:

      assignee=big doggie AND Sprint=18

      and the URL leading to that page is:

      https://whatever.atlassian.net/secure/IssueNavigator.jspa?reset=true&jqlQuery=assignee=big%20doggie%20AND%20Sprint=18

      The issue is probably easily solvable by changing the URL to always include quotes around the assignee parameter, e.g. assignee=%22big%20doggie%22 or whatever. You guys may have some other considerations that make that unfeasible, though.

      The specific version of JIRA is JIRA v6.4-OD-02-003

      Thanks!

          Form Name

            [JSWSERVER-10988] Agile Sprint Health Gadget avatar search links need quotes around usernames with spaces

            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2850770 ] New: JAC Bug Workflow v3 [ 2936597 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2545426 ] New: JAC Bug Workflow v2 [ 2850770 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1549013 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2545426 ]
            jonah (Inactive) made changes -
            Description Original: In the "Agile Sprint Health Gadget", JIRA displays our team's user avatars and allows us to click on them to see who's doing what this sprint--which is great! However, some users have usernames containing spaces (e.g. "big doggie"). Clicking on these users causes the search to fail with the following error:

            {{Error in the JQL Query: Expecting either 'OR' or 'AND' but got 'doggie'. (line 1, character 16)}}

            The query in the search box is:

            {{assignee=big doggie AND Sprint=18}}

            and the URL leading to that page is:

            https://whatever.atlassian.net/secure/IssueNavigator.jspa?reset=true&jqlQuery=assignee=big%20doggie%20AND%20Sprint=18

            The issue is probably easily solvable by changing the URL to always include quotes around the {{assignee}} parameter, e.g. {{assignee=%22big%20doggie%22}} or whatever. You guys may have some other considerations that make that unfeasible, though.

            The specific version of JIRA is JIRA v6.4-OD-02-003

            Thanks!
            New: {panel:bgColor=#e7f4fa}
              *NOTE:* This bug report is for *JIRA Software Server*. Using *JIRA Software Cloud*? [See the corresponding bug report|http://jira.atlassian.com/browse/JSWCLOUD-10988].
              {panel}

            In the "Agile Sprint Health Gadget", JIRA displays our team's user avatars and allows us to click on them to see who's doing what this sprint--which is great! However, some users have usernames containing spaces (e.g. "big doggie"). Clicking on these users causes the search to fail with the following error:

            {{Error in the JQL Query: Expecting either 'OR' or 'AND' but got 'doggie'. (line 1, character 16)}}

            The query in the search box is:

            {{assignee=big doggie AND Sprint=18}}

            and the URL leading to that page is:

            https://whatever.atlassian.net/secure/IssueNavigator.jspa?reset=true&jqlQuery=assignee=big%20doggie%20AND%20Sprint=18

            The issue is probably easily solvable by changing the URL to always include quotes around the {{assignee}} parameter, e.g. {{assignee=%22big%20doggie%22}} or whatever. You guys may have some other considerations that make that unfeasible, though.

            The specific version of JIRA is JIRA v6.4-OD-02-003

            Thanks!
            jonah (Inactive) made changes -
            Link New: This issue relates to JSWCLOUD-10988 [ JSWCLOUD-10988 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 [ 908572 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1549013 ]
            David Chan made changes -
            Link Original: This issue is duplicated by JSW-11511 [ JSW-11511 ]
            vkharisma made changes -
            Resolution New: Duplicate [ 3 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            vkharisma made changes -
            Link New: This issue is duplicated by JSW-11511 [ JSW-11511 ]
            vkharisma made changes -
            Link New: This issue duplicates JSW-11511 [ JSW-11511 ]

              Unassigned Unassigned
              69038b2c73a3 t b
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: