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

Accepted Answer
0 votes

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.

0 votes
Peter Bengov Community Champion Nov 17, 2014

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

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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

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...

27,307 views 2 7
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