Advanced JQL Search does not Respect User email visibility Hidden

2015-06-01T18:42:43
ID ATLASSIAN:JRASERVER-43627
Type atlassian
Reporter gkhan
Modified 2019-03-28T00:17:48

Description

h4. 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

h4. 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

h4. Cause REST api returns prepared data with emails inside. {code} 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> {code}

expected {code} <results> <value>a</value> <displayName>a a - (a)</displayName> {code}