Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Reliable method to retrieve AccountID based on username/email

Edited

Hi, with the new GDPR changes that is removing username from API calls - What is a reliable way to retrieve the account ID based on their email or username? Our application has a list of the users' emails/usernames. We need a way to get the accountID from emails/usernames.

Following up from this post:
https://community.atlassian.com/t5/Confluence-questions/Get-user-account-ID-via-API-from-email-username/qaq-p/1197704

It was suggested that we make these calls:

GET /rest/api/3/user (will stop working with username)

GET /rest/api/3/user/bulk/migration

New V3 also has this call https://developer.atlassian.com/cloud/jira/platform/rest/v3/?utm_source=%2Fcloud%2Fjira%2Fplatform%2Frest%2F&utm_medium=302#api-rest-api-3-user-bulk-migration-get

However, user call will stop allowing querying with username and user/bulk/migration is marked as Experimental. My question is if the Experimental method will be kept on permanently? Or will it be removed?

Thank you!

1 answer

0 votes
Jack Brickey Community Leader Dec 10, 2021

Hi @Adeline Chew , did you find the solution for this? I came across this post recently that may help you as well - Get-accountId-after-updating-account-using-PUT 

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Events near you