Hi, is there a way to get a user's accountId based on his username or email using jira rest api?
I tried to get it from this endpoint but the accountId param is not in the response anymore :
I also tried this link but this one it doesn't seems to work at all:
Hi @Andrei Iorga , you can get the account ID from your user profile as mentioned here in this thread: https://community.atlassian.com/t5/Jira-questions/how-to-find-accountid/qaq-p/1111436
or via rest api, you can try one of the options mentioned here: https://community.atlassian.com/t5/Jira-questions/where-can-i-find-my-Account-ID/qaq-p/976527
Hi @Sramanth Pandeti I am interested in the rest api option but when I try to get the user details based on his username:
In the official documentation ( https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-users/#api-rest-api-2-user-get ) it says that in the response json should be an accountId field but when I call the endpoint I don't get that field. I read something that they removed it because of GDPR. So this is why I can't use the options mentioned in that thread. If you have any other suggestion I would appreciate. Thank you.
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