Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the username by the user ID?

Jason Huang
Contributor
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 Champion
June 12, 2022

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

Andriy_QA
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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