Hi there folks,
I have been using the Postgres query in the following article to identify users on my dev instance who haven’t logged in within 90 days - all of the users on this instance are local users and it works great:
https://confluence.atlassian.com/jirakb/identify-users-in-jira-who-haven-t-logged-in-for-the-past-90-days-695241569.html
However now that I am looking at our production instance, where the majority of users are pulled in from AD - I have noticed that this query is only identifying local users, not AD users.
Is there a way to (ideally) have it show both local and AD users, or even just AD users? I am not a big database person, and haven’t been able to successfully edit the query myself, so any help would be much appreciated.
Thanks!
Hello @Yeahdj ,
do you have scriptrunner?
If you have scriptrunner you can access to AD to read the information of it.
Best regards.
Hi there,
Sadly I don’t have script runner and apparently it’s too expensive.
Currently I am using Jenkins to run the db query in one stage, outputting the usernames to a file. Then in the next stage, using the JIRA API to remove each of the usernames contained in the file from the group we use to assign licenses.
This works pretty good - if I could get it to output AD users to a file also.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.