Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How to get the User Profile information using JIRA Rest API?

Hi,

Is it possible to get the below details for all the users in JIRA using Rest API?

                                Capture.PNG 

 

2 answers

Hello , 

 

I have same situation where I need to output as users role , department and location.

0 votes
Arun_Thundyill_Saseendran
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.
Jan 17, 2019

Hi @HSNAN

It is possible. You could playground with the groups API to get all the users of a particular group and then loop through each user to get all their profile information.

 

Groups API

https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/group

Users API

https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/user

 

Do let us know if you face any specific issues.

 

Thanks

Arun

Hi Arun,

I want the user information from the screenshot provided above. not sure how to achieve this from Groups API. 

I am using the following Users API to fetch user details within my organisation. The API returns only few columns but not what i want. 

https://xyz.atlassian.net/rest/api/2/user/search?username=%

Like # people like this

@HSNAN Did you have any updates?

Would also know if there are any updates to this

APIs are still not returning the info as per @HSNAN 's screenshot. However need to try the solution provided here: 

https://confluence.atlassian.com/jirakb/how-to-get-jira-user-information-with-roles-and-groups-in-an-automated-way-1108488336.html

Hey Guys,

Did you able to figure out API endpoint using which we can get above info ?

Suggest an answer

Log in or Sign up to answer