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

Advanced JQL Search does not Respect User email visibility Hidden

XMLWordPrintable

      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-advanced.png
          issue-nav-advanced.png
          120 kB
        3. issue-nav-basic.png
          issue-nav-basic.png
          129 kB
        4. reporter-userpicker.png
          reporter-userpicker.png
          255 kB

              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              6703db4099af Gavad Khan (PS)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: