How to get list of users sessions in JIRA

Hi,

is there a way though the SQL DB to get the complete list of user sessions in JIRA?  I'm interested in getting the user id + last login timestamp.

 

Regads

Gael

3 answers

1 accepted

This widget could not be displayed.

Got it: https://confluence.atlassian.com/display/JIRAKB/Retrieve+last+login+dates+for+users+from+the+database

Replacing lastAuthenticated with login.lastLoginMillis to get last login date.

This widget could not be displayed.
Peter Bengov Community Champion Nov 17, 2014

What about this: http://jira.<domain>.com/secure/admin/CurrentUsersList.jspa (Cog > System > User Sessions)

This widget could not be displayed.

Hi,

yes that's what I'm looking for. But the problem is that from this page, we can't export the list, which makes it useless for statistics (I have sessions 1-50 out of total of ~13000, I won't even try displaying all pages!)

So I was wondering how I can get this from the DB instead, which a "nice" sql query...

 

Regards

Gael

It would be useful to export the data on the CurrentUsersList.jspa page however, as it contains the # of requests sent by each user and that data could be useful for troubleshooting "bad" scripts..

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

573 views 25 15
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you