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
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...
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