Hi,
Can I have an Oracle query for getting all Jira licensed users and their last login date, including those who didn't login at all?
Thanks!
Orit.
Hi Everyone,
I want to share my plugin with you. It will definetly help you filter out the inactive/active or never logged in users.
https://marketplace.atlassian.com/apps/1220581/my-user-manager-for-jira?hosting=server
It is for free :) Enjoy it
Kind Regards
Yassin
Thanks, it is a nice start! Could you please make the tables sortable?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Whether it support Jira Software? I just installed this plugin and restarted my Jira instance, but still I didn't see any option under user managment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please ignore my question. I was checking it on wrong place. I figured it out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is great!! Is it possible to search for the opposite of what this tool displays? In other words, it looks like, if I choose "Active" users and "Last Login Since", then say "90 days", this will display all the Active users who have logged in for the past 90 days.
In order to determine which users I should consider for de-activating, I'd want to know the opposite of that. In other words, which Active users have NOT logged in during the past 90 days. Knowing that, I would be better able to determine if the user should be de-activated or not.
Thanks for a great tool!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Orit
have a look to
Cheers
Kurt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Kurt!
My DBA tried this query from the article and getting an error. Any idea?
SELECT d.directory_name,
u.user_name,
TO_DATE('19700101','yyyymmdd') + ((attribute_value/1000)/24/60/60) as last_login_date
FROM cwd_user u
JOIN (
SELECT DISTINCT child_name
FROM cwd_membership m
JOIN licenserolesgroup gp ON m.parent_name = gp.GROUP_ID
) AS m ON m.child_name = u.user_name
JOIN (
SELECT *
FROM cwd_user_attributes ca
WHERE attribute_name = 'login.lastLoginMillis'
) a ON a.user_id = u.ID
JOIN cwd_directory d ON u.directory_id = d.ID
order by last_login_date desc;
) AS m ON m.child_name = u.user_name
*
ERROR at line 9:
ORA-00905: missing keyword
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try this one:
select u.user_name, u.created_date, u.display_name, u.email_address,
to_char(to_date('01.01.1970','dd.mm.yyyy') + to_number(a.attribute_value)/1000/60/60/24, 'yyyy-mm-dd') as last_login
FROM cwd_user u, cwd_user_attributes a
WHERE u.id = a.user_id
AND a.attribute_name ='login.lastLoginMillis'
and u.DIRECTORY_ID=3
and u.active=1
and to_char(to_date('1970-01-01 00','yyyy-mm-dd hh24') + to_number(a.attribute_value)/1000/60/60/24 , 'YYYY')<2019
order by last_login;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi, is todate supported in SQL?, shouldnt we use cast ? or convert?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The last line contains a
) AS m ON m.child_name = u.user_name
that should not been there, can you pls. check
Cheers
Kurt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!
Join an Atlassian Community Event!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.