I am trying to find inactive users in Bitbucket. People request access and then look at it once or never end up using it, but now that license is tied up. So I want to get a list all licensed users and the last time they logged into Bitbucket.
Click on the "Users" link on the "Administration" screen (upper-left). There is a "Last Authenticated" column there. I'm not sure when it showed up, but it's there for Bitbucket 4.11:
Another approach would be to use the REST api. The regular "rest/api/1.0/users" API does not have the "last authenticated" data, but the "rest/api/1.0/admin/users" variant does! Feel free to try the following example using my demo server (login against http://vm.bit-booster.com/bitbucket beforehand as "test" with pw "test" first). Here's an example GET call against "rest/api/1.0/admin/users": http://vm.bit-booster.com/bitbucket/rest/api/1.0/admin/users?limit=1000
p.s. I invite you to try my Bitbucket add-on: Bit-Booster for Bitbucket Server
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs