Is there any way to get the Currently logged in users Session details from JIRA through postgresql/REST API by each node at any point of time ?
Also I am trying to get the user login details through postgresql but I am able to get only the Last Login Details using the below query.
SELECT d.directory_name AS "Directory",u.first_name AS "First Name",u.last_name AS "Last Name", u.user_name AS "Username", to_timestamp(CAST(attribute_value AS BIGINT)/1000) AS "Last Login" 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') AS a ON a.user_id = u.id JOIN cwd_directory d ON u.directory_id = d.id ORDER BY "Last Login" DESC;
So please help/advise me, how to get the currently logged in users Session details in JIRA.
Thanks in advance...