I'm using the REST API to get the user object from an instance running Jira 7.7.0. I'm using my own credential (full administrator permissions) and searching for myself:
No emailAddress attribute, which should be there according to the REST API docs: https://developer.atlassian.com/cloud/jira/platform/rest/#api-api-2-user-get
I've run the same REST call against two older instances running 6.3.13 and 7.3.6. Both return the emailAddress attribute.
How do I get the email address of a user with the REST API in 7.7.0?
I just posted this 10 minutes ago and it was marked as spam and removed from the list of questions. This isn't spam! :|
The global setting User email visibility was set to hidden in the 7.7.0 instance. Even though I was using the API as a system administrator user, and that user is able to view email addresses in the GUI, they remain hidden in the API unless that setting is changed.
Changing that setting allowed the emailAddress attribute to appear in the API.
I've asked Atlassian if this is working as intended or not.
The Jira Software Cloud Team has been busy working on a simple, secure, and reliable way to integrate your build and deployment information from Jenkins with Jira Software Cloud. This means you don’t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events