JIRA version is JIRA 4.2.4-b591- and database is SQL server 2005
We want to find users who had logged into JIRA
There are tables in SQL server database (propertystring) where last login information is stored but that is stored as ntext with values as - it is in millisec
Not able to convert them as date
I am wondering if any one have faced similar issue and there is a method to convert as a date and time
If you are using SQL Server 2005 you can try this query (for JIRA 4):
SELECT cwd_user.user_name, dateadd(second,cast(cast(cwd_user_attributes.attribute_value AS nvarchar(255)) AS bigint)/1000,'19700101 00:00:00:000') FROM cwd_user, cwd_user_attributes WHERE cwd_user.id = cwd_user_attributes.user_id AND cwd_user_attributes.attribute_name = 'login.lastLoginMillis'
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
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