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
Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...
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