I was hoping to see a "last login date" or similar in the list of users in the Fisheye admin panel, but I do not.
Is there a way to use the REST API to get such a a list? If not, what about a raw SQL query (I'm using postgres)?
I'm trying to delete old users from the system, i.e. former employees or employees that do not Fisheye often.
If you have access to the postgress database in use by Crucible, the following:
select cru_user_name, to_timestamp( max(cru_last_viewed)/1000), count(cru_user_name) from cru_recently_visited group by cru_user_name order by max(cru_last_viewed) desc;
Should give you roughly what you need.
It wont give you logins per-se, however will let you know which users recently viewed an 'entity' in FishEye/Crucible. An entity is: a repository, a project, a review or a user page.
You could also consult the cru_login_cookie table to get the last time a login cookie was created for any given user.
The information about the last login can be retrieved by following the steps / running the query on the following article:
This page covers both older and newer (4+) versions of Fisheye.
Caterina - Atlassian
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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