Error deleting an Organization Hierarchy in Jira Align
Summary
When trying to delete a JA Organizational Hierarchy it fails as it states that there are still users associated with that organization.
Environment
Jira Align
Diagnosis
When trying to delete an Organizational Hierarchy from JA it fails as it states that there are still users associated with it, although filtering for that organization in the 'people' section of the admin page, Align throws a message that there are no users associated with that organization.
Cause
The scenario occurs when one or more users are part of an Organizational Hierarchy that we are trying to delete e.g. "organization A", but they are "inactive" so you did not see them when searching.
Solution
Navigate to the Settings > Setup > Organization Structures
Search by Organization name or id
Click on the Org Name, the slide panel pops up
Click on Delete
Find deactivated users and remove them from the organization to allow the deletion.
Navigate to Settings > People
On the upper right side, click on "Apply Filters" to add the filter "Enterprise Hierarchy" e.g. "organization A"
Look for "Deactivated" and set that to yes.
The list of Deactivated users that belong to the Organizational Hierarchy is displayed.
Click on the "Deactivated user(s)", and the slide panel pops up.
Move the user to a different Enterprise hierarchy and save the change.
- Repeat the same steps used to Delete the organization Structure.