Advanced JQL Search does not Respect User email visibility Hidden

XMLWordPrintable

    • 6.03
    • 5

      Problem

      The advanced JQL autocomplete functionality is still showing email addresses, ignoring the User email visibility option.

      • Basic mode does not show emails
      • See screenshots

      Steps to Reproduce

      • Set User email visibility to Hidden
        • JIRA Administration > System > General Configuration > Edit > User email visibility > Hidden > Update
      • Verify the emails are hidden in all locations except for the Issue Navigator's advance searching, see screenshots

      Cause

      REST api returns prepared data with emails inside.

      curl -H "Authorization: Basic XX" -H "Cache-Control: no-cache" http://127.0.0.1:8080/rest/api/1.0/jql/autocomplete?fieldName=reporter&fieldValue
      
      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <autoCompleteResultsWrapper>
          <results>
              <value>a</value>
              <displayName>a a - htoussi@atlassian.com  (a)</displayName>
      

      expected

          <results>
              <value>a</value>
              <displayName>a a -  (a)</displayName>
      

        1. hover-over-user.png
          hover-over-user.png
          50 kB
        2. issue-nav-basic.png
          issue-nav-basic.png
          129 kB
        3. reporter-userpicker.png
          reporter-userpicker.png
          255 kB
        4. issue-nav-advanced.png
          issue-nav-advanced.png
          120 kB

            Assignee:
            Oswaldo Hernandez (Inactive)
            Reporter:
            Gavad Khan (PS)
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: