How to get the username by the user ID?

Jason Huang June 11, 2022

Hi,

 

I want to know the username from a user ID, e.g. JIRAUSER12515.

Is there any way to get the username by a user ID with REST API?

 

Regards,

Jason

2 answers

1 accepted

3 votes
Answer accepted
Mohamed Adel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 11, 2022

Hi @Jason Huang 

did you try the following ?

http://www.YourDomain.com/jira/rest/api/2/user?key=JIRAUSER12515

Regards 

Mohamed 

Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 12, 2022

In addtion, I think that you need Browse Users global permission to use API suggested by @Mohamed Adel 

Andriy_QA August 21, 2023

Check it

Like Florian Werler likes this
0 votes
Jovana Jakovljević March 12, 2024

Hi guys,

Is there any other way to get user NAME out of user ID?

Thanks.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.20.8
TAGS
AUG Leaders

Atlassian Community Events