Hello there,
I am trying to achieve disabling of users based on dates which are entered in a custom field. This could be useful for temp staff who have a start and end date. Would like an automation to automatically deactivate the user once this time is up. I have looked at automation for jira doing this but not sure the property key can be updated by automation.
Any ideas would be appreciated.
Thank you
You can use scriptrunner to automatically disable and enable users. They have an example here: https://library.adaptavist.com/entity/deactivate-idle-users?_ga=2.114642631.1582705835.1574107332-1726082589.1570807866 You would just need to change the logic to look at your custom field and not at last login. You can then use scriptrunners scheduled jobs to run the script every night for instance or every hour.
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.