It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how many times users have logged into jira for a project in past 3 months?

Could anyone help me to retrieve a report from jira datbase , How many times users for a perticular project logged into jira in past 3 months?

2 answers

Hi @Yampalla_Srinivas 

As far as I know, you can't directly get that historical data.

Jira stores below attributes in cwd_user_attributes table.


Hi  @Tuncay_Senturk__Snapbytes_ 

could you say query for logged in users list  belongs to perticular project from past 3 months ?

As I mentioned, there is no such historical data, AFAIK.


number of Logged in times data for a user is not possible. 


Based on last logged in time we can pull the data for logged in users from past 3 months. 

Ohh sorry, I misunderstood your question. I thought you want to get number of login counts per user within 3 months. 

So yes this table can give you the users which logged in within e months.

It depends on your database but in Postgresql you can type an SQL as below


select distinct u.user_name
from cwd_user u, cwd_user_attributes ua
where ua.attribute_name = 'login.lastLoginMillis'
and cast(ua.attribute_value as float) > EXTRACT(EPOCH FROM TIMESTAMP '2019-03-01 00:00:00') * 1000

 You can either type the desired min date or just get the value as millis to be relative for the current date.

I hope it helps

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you