Hello !
I am working on a plug-in that reports all users who have not logged in to Jira (version 4.4.4) for the past 90 days or so. This is to be in-line with our organization policy to disable users who are inactive.
I researched a bit and found that there are methods to pull this information but I am not able to find the right way to start.
LoginInfoImpl.getLastLoginTime() or LoginInfo.getLastLoginTime() gets this information, but I dont know how to create an instance of LoginInfoImpl or LoginInfo interfaces. How do I get an instance of LoginService or LoginInfoImpl interfaces. Is it available from ComponentManager? Like ComponentManager.getInstance().getLoginInfo()????
Please help.
-Elango
There is a way to retrieve it from the database: JIRA example queries
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.