Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to force exposure of email address of managed account?

Amos Shapira April 15, 2020

Hi,

I get it that the GDPR changes made it a requirement to use accountID instead of username to query the user list.

I have a Slack bot which receives a user's email address and tries to look this user up in Jira in order to be able to create an issue and assign one of the fields of that issue to that user.

This used to work by querying by "username" but now is broken because of GDPR changes.

In order to work around this, I try querying /rest/api/3/users in order to build an in-memory map of emails to accountid.

The trouble is that this query includes the email address in "displayName" for handful of users, (about 15% in my case).

I would like to force exposing the email address of all managed users internally to the company (not outside the company). Is there a way to do that centrally? Asking all users to enable this to their own account is not practical.

Thanks.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events