Hey so I managed to get the data using grapghql (use with caution as I didnt see it documented, i sniffed the page)
Post to URL: https://{sitename}/gateway/api/directory/graphql?q=UserDetails
Query:
Varaibles:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Lovely, This is working like a charm. Thanks a lot.
Is there any way, we can get profile info for all the active users?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello ,
I have same situation where I need to output as users role , department and location.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
APIs are still not returning the info as per @HSNAN 's screenshot. However need to try the solution provided here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Guys,
Did you able to figure out API endpoint using which we can get above info ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.