Content
Is it possible to merge duplicate user accounts in OpenProject?
Hello,
I have run into a duplicate user issue in OpenProject and I am looking for the best way to clean it up.
First, I used the Jira import functionality, which created a number of user accounts that now appear as duplicates.
Second, before enabling authentication through our Active Directory / SSO provider, I had manually created some internal users using their corporate email addresses. After enabling AD authentication, new accounts seem to have been created for the same people, resulting in additional duplicates.
My questions are:
-
Is there any supported way to merge two user accounts into a single account?
-
If not, what is the recommended approach to consolidate duplicate users while preserving work packages, comments, history, assignments, and other references?
-
Are there any tools, plugins, scripts, or administrative procedures that can help in this situation?
Any advice or best practices would be greatly appreciated.
Thank you!
Version du produit
Version du cœur
OpenProject 17.6.0
The Answer of M$Copilot : a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; }
As far as I can tell, OpenProject does not provide a native "user merge" feature. The administration documentation describes how to create, edit, lock, unlock, and delete users, but I could not find any documented way to merge two existing accounts. [openproject.org], [openproject.org]
In your situation, I would expect the recommended approach to be:
Identify which account should remain the authoritative account.
Reassign memberships, work package assignments, ownership, and other references where possible.
Lock or delete the duplicate account once all relevant data has been transferred.
Since you are on OpenProject 17.6.0, it is also worth noting that later releases mention fixes for duplicate users created during Jira imports, which suggests that duplicate-user scenarios are known, but I have not found any indication of an account merge capability. [newreleases.io], [community-...cripts.org]
If a complete merge is possible, it is likely to require either:
a Rails console operation,
a custom migration script,
or direct database manipulation performed by an administrator.
I would therefore recommend asking the OpenProject community whether there is a supported migration procedure for consolidating duplicate accounts while preserving work package history, comments, memberships, and audit trails.
Personally, I would also add this sentence to your forum post because it is probably the most important part of the question:
"My primary concern is preserving historical data (comments, work package history, activities, memberships, and assignments) while consolidating duplicate user accounts into a single identity."