We have thousands of users on our jira instance; many of them have left the organisation years ago. Therefore, for any outage or upgrade communication we need to exclude them
One way we have thought of doing so is to run a query on the database and extract a list of users who have logged in to the instance in the past 12 months, and send an email to them only.
Is anyone aware of any such script to get users logged in the last 12 months?
select u.display_name,u.email_address from jiraschema.cwd_user_attributes a INNER JOIN jiraschema.cwd_user u ON u.id=a.user_id WHERE a.attribute_name = 'login.lastLoginMillis' and a.attribute_value < 1337534822000
You can use the epochconverter link provided by Janet to get the millis value for any date.
I have not known any existing script for this. But the following might help:
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
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