Hello,
I need to show list of Confluence users in a picker. Is there a way to retrieve list of Confluence Users via Cloud Rest API?
Thanks,
Sheff
Hi @Doc Gen
Sorry, I didn't actually try this, I just assumed that the Confluence API call would behave the same way as the Jira one, which it doesn't :-(
According to this, what you need to do is run a group query
GET /wiki/rest/api/group
then for each group, get it's members with
GET /wiki/rest/api/group/{groupName}/member
I've tried this and it works, it just seems crazy having to do it this way
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Warren
Thanks for the quick reply!! I have tried this API in the past. As you mentioned, it gets crazy if the number of groups are too many . I wish they can expose the User Search Rest API in Confluence Cloud as well, similar to what is available in the JIRA Cloud.
It is really annoying to look up users via groups specially when you have to keep refreshing your pool to make sure you have the updated list.
Thanks!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is a user search API - https://developer.atlassian.com/cloud/confluence/rest/#api-api-search-user-get
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.