You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Is there a way to remove an inactive user from all references of a JIRA project. We have a few custom user picker fields like "Stakeholders", "Owners", etc that have multiple user values. Some of these users are no longer with our organization and we would want to remove their references from these fields.
I do not see a bulk edit option to achieve this. What would be the best way to achieve this?
Thanks for your reply. The problem here is
1. First, I cannot list all the issues that have that inactive user as a "Stakeholders". JQL does not identify the inactive user as a valid value.
2. If I use a JQL like - "stakeholders in inactiveUsers()", I get a bunch of issues. However I cannot bulk edit them as there is no option to only remove the inactive user while keeping the active ones in every listed JIRA issue.
You could try one of the following plugins from the related article: https://community.atlassian.com/t5/Jira-questions/Finding-Issues-Owned-by-Inactive-Users-with-JQL/qaq-p/249236
You could navigate to user admin > Users, and search for all inactive users, make a note of their names, and set up a JQL in JIRA that finds all issues with those names. Once that is done you can change the user fields to something else, such as Unassigned or assign to a relevant user.
Hope this helps.
Unfortunately, this would not work as even if I get the issue list for bulk edits, there are a bunch of stakeholders for each issues. I do not get any option to retain the active ones and remove only the inactive user. (Each issue can have a different set of stakeholders). I am thinking of using REST API calls or write a Groovy script to get this done.
Thanks for your inputs.