Using '/rest/api/3/user/search' rest api call, I'm able to search for users but I don't know how to get users which are active in Bitbucket only? Is there chance to set a query for that?
Hi @Robert Koncier,
I see the question is tagged with Bitbucket Cloud, but looking at the REST endpoint you refer to I'm guessing you're rather asking about Bitbucket Server – can you please confirm this?
Cheers,
Daniil
Hi Daniil,
it is question for Bitbucket Cloud. I tried to find api call to get all Bitbucket cloud user for our organization but I didn't find any option (https://developer.atlassian.com/bitbucket/api/2/reference/search?q=user).
Later I thought it can be thru id.atlassian.com api, where is method to search for users but it looks like these are JIRA users only. https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-group-Users
Is there any other API? Not sure how and if Bitbucket Cloud is integrated with all other Atlassian APIs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Robert Koncier,
Ok, sorry I got confused by the path pattern of the REST endpoint you mentioned cause it looked more like a Bitbucket Server one.
Unfortunately there's no easy way to match users between Jira and Bitbucket at the moment, and no means to get any metadata on user activity in Bitbucket.
There's still a REST endpoint which lists members of a workspace, but it doesn't answer a question whether the users are actively using Bitbucket.
Hope this helps.
Cheers,
Daniil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Daniil,
yes probably it is the best other option - get members of workspace. Going to try.
Thanks
Robert
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.