Get users email as system admin in jira

Hi,

There are lots of caveats on how to get an email. Let’s try to focus on your use case, which is to get access to email via API, and how to do it.

  • You are right that you can do this via GET User API.
  • You can make this API call via basic authentication (i.e. email and API token). This page shows how to get API token and use it in REST calls.
  • Once you have done the above, you should be able to make an API call and see the user’s email address.
  • Even if you are the admin in the site, there is a case where you still can’t see the user’s email. Which is, if a user decides to hide their email as per GDPR. They can do this via profile management page. In this case, you will get all the details of the user while making the above API call except email.

You can read more about guidelines for requesting access to email address which elaborates on all of this and more.