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.
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events