Getting user emails via API

Hello everyone,

I’ve received a task to create a process for managing Jira users on our domain.
I’m having trouble getting the email addresses off API and unfortunately can’t figure it out on my own using the documentation.

I’d like to get all our user emails so I can process them and then take action.

Reading the manual shows you can only get the email using an app approved by Atlassian and it also needs a scope.
Since I’m not experienced in APIs or building apps, I don’t understand what is needed.

Can I use Postman/Python to query this or do I need to create an app? (never built an app before)

Apologies for the newbie question
Help would be much appreciated!

Hello @RonenZohar

Nope. It’s exactly as described in all the documentation you’ve read. Your observation that “you can only get the email using an app approved by Atlassian and it also needs a scope.” is completely correct.

Also, read up on User Profile Visibility to know how users can ‘publish’ their email address.

Hi @sunnyape, thank you for the response!

I assume no one in our domain alters their privacy mode but that’s not the issue.

I thought an app approved by Atlassian could be downloaded from their marketplace but I did not find an API software.
Do they mean that I need to create an app myself and also give the needed documentation to meet their requirements for privacy as said in the documentation?

Thank you!

Yes, if by ‘they’ you mean Atlassian.

Good luck on your learning journey.