We are running Bitbucket with Provisioning in Atlassian Crowd via a crowd group (ex: bb_users); In the Bitbucket DB, a directory is created matching that of Crowd.
Let's say Bitbucket front-end licensing gives a number of 765 users have been provisioned in Crowd and synchronized. How can we query Bitbucket DB to find these 765 users. Ours is Postgres DB 8.4.20
PS: We are in the process of upgrading Bitbucket.