Hi,
I recently got an update from Atlassian which says that using the below query bulk user deactivation is possible in Jira.
update cwd_user u set active = 0 WHERE u.id in ("a1234","b1234","c1234",.........)
I would just like to confirm if this query can be directly used to bulk update the users for purpose of deactivation because we have the actual username list and would just like them all to be deactivated.
I have around 1000 users to be deactivated in an excel sheet and I hope using excel formula if I enclose all such 1000 usernames within double quotes and create comma separated list and directly place them in update query as above then that should work.
Please let me know if this correct or if not then what else needs to be done.
Thanks,
Ashley
Hi Ashley,
Yes, that query should work to bulk disable those users.
Hi Benito, Thanks for the quick response. I would just like to know one more thing. Do I need to enclose usernames in double quotes? Is everything I mentioned as part of update query (I mean all parameters) correct? Thanks, Ashley
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.