Importing users into Redmine from CSV

A planning guide to creating Redmine accounts in bulk from a CSV file with the user importer added in 4.2, including the fields to prepare, how account information is sent, and what to configure afterward.

On this page

How to import users into Redmine from CSV before a migration

If your migration needs hundreds of people to have accounts before issues, time entries or project memberships can be loaded, creating each user by hand is slow and invites errors. Redmine 4.2 added a user importer that creates accounts from a CSV file, so the account list can be prepared, reviewed and loaded in one batch. It is one step in a migration and covers only part of it: it creates accounts but does not move issues, time entries, project memberships or role assignments. Use it when the source list is large and clean enough to review as a spreadsheet. Create accounts by hand when only a few people are missing or when a user needs individual attention.

Before loading, confirm in your Redmine version which columns the importer expects and which are required. Typical fields include login, first name, last name and email address, but check the importer screen and its documentation for the exact set and for any optional settings, such as language or administrator status. Test on a copy of your database with a file of about a dozen rows. Decide how new users will receive their account information, and confirm that outgoing email is configured and tested beforehand. Resolve duplicate logins and duplicate email addresses in the source file first, because these are the most common reasons a batch stalls.

If your organization signs in through LDAP, settle the authentication source before importing. Redmine authenticates against LDAP directories natively, so accounts that should sign in through the directory need the matching authentication mode and should not receive a local password from the file. Confirm how your version handles this combination on a test instance. Group membership and project roles are assigned after the accounts exist, so define the group and role model first and apply it in a second pass. The Migrating from other systems to Redmine page is a useful reference for sequencing the rest of the migration.

Which account and authentication options fit each batch

This table compares the account choices you make for each batch of users: local passwords or LDAP-backed sign-in, whether account details are emailed, and whether accounts start active or locked. Read each row for when the option fits, what to prepare before the import, and what to check on the importer screen of your installed version, since options vary by release. The main takeaway is that the authentication source and email setting should be decided per batch and confirmed with a small test run first.

OptionWhen it fitsPrepare beforehandConfirm in the importer screen
Local password accountsSmall teams without a directory, or external contractors who should not depend on corporate sign-in.Set the password policy and decide how initial passwords reach users. Check that login names are unique.Whether the importer sets or generates passwords, and which password rules apply.
LDAP-authenticated accountsStaff whose identities already exist in Active Directory, OpenLDAP or FreeIPA and who should sign in with directory credentials.Configure and test the LDAP authentication source first. Confirm the CSV login column matches the directory login attribute.Whether you can select an authentication mode and source, and how users missing from the directory are handled.
Send account information by emailBatches where each user receives a welcome message and sets up sign-in without administrator help.Confirm outgoing email works from the server and test with one account. Verify addresses, since bad ones are easy to miss.Whether the send option is offered, and whether it applies to LDAP accounts, which usually have no local password.
Do not send account informationMigrations where administrators hand out credentials through another channel, or accounts set up later.Agree a secure way to deliver credentials and record who received them. Keep passwords out of shared spreadsheets.Whether this option exists in your version and what the importer reports for each created user.
Create users as activeStaff who need access on the day the batch loads, such as users assigned to projects straight away.Confirm the start date and have the project role plan ready before the import runs.The default status selected on the screen and whether it can be changed for each batch.
Create users as lockedAccounts loaded ahead of a cutover, or accounts an administrator unlocks in groups after review.Name who unlocks accounts, when, and how the list is checked against the HR roster.Whether a locked status is offered, and how locked users appear in the user list afterward.
Mixed LDAP and local batchOrganizations where most staff use directory sign-in and a small group uses local passwords.Split the CSV by authentication type so each file uses one setting. Record which file used which option.Whether the importer applies one authentication setting per run, which would require separate files.
Group membership after importTeams that need groups to control project access once the accounts exist.Create the groups and confirm their names before the import. Plan group assignment as its own step if needed.Whether group assignment is a CSV column or a separate screen in your version.

How a CSV batch moves from file to active accounts

The batch starts as a prepared CSV file that an administrator uploads to the user importer in Redmine. The importer checks each row and reports errors back for correction before any account is written. Accepted rows create user accounts, and optional notification emails go out only if the administrator chose that option. LDAP binding and group or project membership are added afterward, in separate steps, and the administrator confirms the results in the user list before the batch is closed.

Path of one CSV batch, with the administrator checkpoints marked.

Running the user importer step by step

This sequence moves a list of people from a spreadsheet or another system into working Redmine accounts. Each step ends with a check you can record, so bad rows are caught on a copy before they reach live users. The result is a documented import with verified logins and delivered account emails.

  1. Confirm the Redmine version

    The administrator signs in, opens Administration, then Information, and reads the Redmine version shown there. The user importer requires version 4.2 or later. If the instance is older, plan the upgrade first, because the upgrade guide sets out the required database migrations and plugin steps. Redmine 7.0.x is the only fully supported line, 6.1.x receives bug fixes and security updates, 6.0.x receives important security updates only, and 5.1.x and older are unsupported. Done when the version is 4.2 or later and you have recorded it in the change ticket.

  2. Prepare and validate the CSV columns

    Build the file with one header row and one row per person. Confirm on your version's importer screen which columns it accepts and which are required, then map your source headers to those names. Check that the delimiter and encoding match what the importer expects, that no login or email appears twice in the file, and that no login or email already exists in Administration, Users. Each row needs every required value filled in. Done when a validation pass shows zero duplicates and the row count matches the source system's export.

  3. Decide authentication and password settings

    Decide how each group of users will sign in before importing. Accounts can use internal Redmine passwords, or they can be assigned to an LDAP authentication source configured under Administration, LDAP authentication. If LDAP is the target, confirm the source connects and that a test login succeeds on a non-production instance first. If your importer does not accept an authentication source column, plan to switch those accounts to LDAP after the import and record that as a separate step. Done when every group has a written sign-in method and the password option is chosen.

  4. Run a small test batch on a copy

    Restore a copy of the production database and files to a staging instance, or use an existing staging server. Import a small batch of rows that includes typical cases, such as a name with accents, a mixed-case email and one row with a deliberate error. Review the importer's results screen and the list of rejected rows. Check that accounts appear in Administration, Users with the expected names, emails and status. Done when the test batch produces only the errors you planned for, and you have corrected the source file to match.

  5. Import the full file

    On production, open Administration, Users, and start the import with the corrected full file. Choose the notification and password options you decided on earlier, and confirm whether login information should be sent to each new account. Keep the file, the results summary and any rejected-row report together in the change record. Compare the number of created accounts with the number of valid rows in your validated file. Done when the counts match and every rejected row has a recorded reason and a plan to fix it.

  6. Verify accounts, logins and notification delivery

    Filter the user list to the imported accounts and spot-check names, emails, status and administrator flags. Sign in with a sample account from each group, and confirm that any forced password change prompts as expected. Check the mail transport logs or your SMTP provider's dashboard for the account emails, and confirm a test recipient received one. Confirm that no imported account has admin rights you did not intend. Done when sample logins succeed, the account emails are delivered or their failures are listed for follow-up, and group membership is ready to be added in the next step.

Security risks in bulk account creation

Creating many accounts at once concentrates risk in a few moments: credentials are issued, personal data is copied into files, and privileges are assigned in bulk. Each card below names one risk, the control that addresses it, and the routine that keeps the control working after the import is finished.

Initial passwords in transit

Initial passwords or reset links sent by email or pasted into chat can be read by anyone with access to those channels. Prefer account activation links that expire, and require users to set their own password on first sign-in. Check the password policy the import relies on, and confirm that forced password change on first login is enabled for every imported account. Review the password and session settings in the Redmine security hardening topic before the first batch runs.

Installation guide

CSV files left on shared drives

A user import file holds names, email addresses and login names, which is personal data. Copies tend to end up in downloads folders, shared drives and ticket attachments. Keep the source file on a restricted path, delete it once the import is verified, and log which operator ran the import. Ask who in your organization can read the export from your HR system before it is handed to the person running the import.

Excessive administrator roles

A CSV column that sets the administrator flag, or a later bulk edit that adds users to an admin group, grants far more than most new users need. Keep the import file limited to standard fields, and assign administrator rights by a separate, reviewed step. Confirm that only named staff hold admin rights after each import, and record who approved any change to them.

Leavers keeping active accounts

Accounts created in bulk are often never revisited when people change roles or leave. Set an owner for every batch, and schedule a periodic comparison between active Redmine users and the current HR or directory list. Lock or disable accounts for leavers rather than deleting them, so that issue history and authorship remain intact. Where authentication is through LDAP, confirm that directory disablement also blocks Redmine sign-in.

Stale or unreviewed batches

A batch that is loaded and never checked can contain duplicate logins, wrong email domains or accounts mapped to the wrong group. Keep a record of each import with its row count, the operator and the date, and sample a set of created accounts against the source list. Repeat the same review after every import, not only the first, so the controls do not drift.

LDAP-backed users versus local password accounts

When staff already sign in through an LDAP directory, Redmine should not hold a separate password for them. Each imported record needs to reference the LDAP authentication source so that sign-in is checked against the directory. The login value in the CSV is the matching key, so it must be the identifier Redmine uses to bind to the directory, not a display name or an email alias that may change over time.

  • Match on the directory identifier: Confirm which attribute your LDAP authentication source uses for login, such as a short account name or a uid, and populate the login column with exactly that value.
  • Assign the auth source on every row: Set the authentication source column to the name of the configured LDAP source and leave password columns empty, so no local credential is created for these accounts.
  • Expect disablement to happen upstream: When the directory disables an account, the user can no longer sign in through LDAP, but the Redmine record may stay active in the user list until an administrator locks it. Check how your installation treats that state.
  • Check for existing local accounts: A user who already exists under the same login may produce a duplicate identity or a conflict, so review current accounts before importing.

Before importing, confirm the exact authentication source name, the matching attribute, and whether first sign-in creates or updates the Redmine account.

Assigning group membership and roles after the import

Group membership and project roles are usually applied after the accounts exist because they depend on objects the user import does not create. A group has to be defined before anyone can join it, and a project role only means something once the project and its role set are in place. Keeping these steps out of the user file means the file stays limited to identity and account fields, which is easier to review and to rerun if a row fails. Before you start, confirm in your installed version exactly how the user importer handles any group column, since the importer's supported columns and their behavior are the first thing to check against your own template. Do not assume a column that looks like it assigns groups will do so.

Verify the result against the access model the team agreed on, not against the import log. Export or list the users in each group and compare the membership with the written matrix of groups, projects and roles. Check that each project has the intended members, that roles carry only the permissions the matrix allows, and that no imported account landed in an administrative group by accident. Pick a sample of users from each department, sign in as a test account where your policy permits, and confirm they see the projects they should and nothing else. Record who ran the assignment, the date and the matrix version so the evidence can be reproduced later.

What to confirm in your version before importing

The user importer depends on details that change between Redmine releases and between installations. Each card below names one item to verify, where to verify it, and what a staging test should show before any real accounts are created.

Required and optional columns

Confirm the exact column headers and which fields are mandatory for your release, such as login, first name, last name, email and password handling. Check the importer screen and the release notes for the version you run, since a missing required column can fail the whole file. Run a three-row sample in staging and read the error messages line by line before loading the full list.

Redmine download page

Duplicate logins and emails

Test how the importer treats a login or email address that already exists, including differences in case and whitespace. Decide in advance whether duplicates should be skipped, corrected or merged with existing accounts, because a rerun after a partial failure can otherwise create confusing or blocked records. Keep a list of rejected rows for manual follow-up.

Dependence on working SMTP

Find out whether account creation sends welcome or password emails and whether a failed mail delivery stops the import or only logs a warning. If your mail server is not ready, plan to suppress notifications or set passwords out of band. Confirm this behavior in staging with your real SMTP settings rather than assuming it from the defaults.

Custom field handling

Verify whether the importer writes user custom fields, how it validates list and boolean values, and whether required custom fields block account creation. Compare the column names with the custom field names shown in administration, since a mismatch may be silently ignored. Document any field that must be filled in after import.

Plugins that change user creation

List every installed plugin and check whether any of them hook into user creation, validation, notifications or default preferences. A plugin can add required fields, send extra messages or alter authentication source assignment, so test the import with the same plugin set you run in production. Keep plugin versions aligned with your Redmine release before testing.

Authentication source and group follow-up

Decide whether imported users should authenticate with local passwords or an LDAP source, and confirm how the importer records that choice. Group membership is usually added after the accounts exist, so confirm whether group assignment is a separate step in your release. Verify sign-in for one account from each authentication path before you release the file to everyone.

Where user import fits in a Redmine migration

Import users first. Issues, time entries, watchers and assignees all refer to people, so every later step needs a Redmine login that already exists. If the user list is wrong when the issue importer runs, assignments fall back to blank or to the wrong person, and fixing that afterward means re-running the import or editing records by hand. Before loading anything, build a mapping table that pairs each identifier in the old tracker (username, numeric ID, or email address) with the Redmine login you created for that person. Keep this table with the migration records. It is the evidence that an old author or assignee was matched to the right account, and it is the lookup your issue and time entry scripts will use.

The user list also governs what the later steps can do. Issue import matches assignees, authors and watchers against existing logins, and time entry import depends on the same users being members of the right projects. The REST API, which an administrator must enable and which authenticates per user with an API key, behaves the same way: a script that acts as a person cannot act for an account that does not exist yet. Decide early which accounts are active, which are locked and which are dropped, because a user who left the organization but authored old issues still needs an account so those records keep an owner. Check the result by sampling a few migrated issues and confirming each name resolves to the expected login.

The CSV user importer covers ordinary accounts: login, names, email and password handling. It will not carry everything a tracker held about a person. Historical identities that do not map to one login, several old accounts that belong to one employee, and per-project group membership may need a scripted approach through the REST API or direct database work, with the mapping table driving each step. Confirm what the old system exports before you commit to CSV alone, and plan for a review of duplicate and unmatched people before the first test import. Authentication source and group membership are covered later on this page, so settle the list of people first.

How much effort does a Redmine user import take?

What drives the effort of a Redmine user import?

The main drivers are the number of accounts, whether users must match a directory, how clean the source list is, and how many decisions remain open. A list of 40 people with complete names and unique email addresses is a very different job from a list of several thousand records with duplicates, missing addresses and inconsistent department names. Open decisions on notifications, administrator flags, roles and group membership add review time, because the import creates accounts but the access model still has to be settled. Each test round also adds time: a trial run on a staging copy, a review of the results, and a corrected final run. Ask any quote to break effort into data preparation, the import procedure, directory work, access setup, testing and handover.

What must we provide before a user import starts?

The work stalls quickly without these inputs, so collect them before requesting a quote. Most imports need the following:

  • A user list with login, first name, last name, email address and any status or language values you intend to set
  • Read access to your directory if accounts must link to LDAP or Active Directory, plus a test account for sign-in checks
  • Written decisions on which roles, groups and administrator flags apply to each population of users
  • A staging Redmine instance running the same version and plugins as production, so trial runs match the live system
  • A named owner who approves the final list and the production run

A source file with unexplained columns or unresolved duplicates usually creates more back-and-forth than any technical step, so resolving those questions early keeps the schedule predictable.

Can a capable Redmine administrator run the import alone?

Yes, for a clean list of modest size, provided the administrator is comfortable with the Redmine administration pages, has a staging copy to test on and has time for a careful review. Redmine is free under GPL v2, so the internal cost is administrator time rather than a license. The picture changes when the work involves directory binding, many duplicate or ambiguous records, plugin-dependent fields or evidence that auditors will later review. Scripted imports over the Redmine REST API also need an administrator to enable the API first and to manage keys carefully. The trade-off is between internal time and the risk of a mistake in production accounts, which is hard to undo cleanly once users have signed in.

How long does a Redmine user import take?

No duration applies to every import, because the work scales with the number of records, the state of the source data and the number of review rounds. A short list that is already clean can move through preparation, a staging run and production in a short window. A large or messy list adds cleansing, mapping questions and additional trial runs, and approval steps or change windows can extend the calendar further even when the technical work is quick. Ask any quote to state its assumptions in writing: record count, expected duplicate rate, directory availability, number of test rounds, and who must approve each stage. A quote that cannot name its assumptions is harder to compare with other proposals.

Who pays for what when a Redmine user import is outsourced?

Redmine itself has no license fee, so the spending falls on the work around it. A partner invoice typically covers scoping, data preparation and mapping, the import procedure or script, staging trials, the production run and handover documentation. Your organization pays for its own hosting, the staff who approve decisions and any directory or identity work performed by internal teams. Most of this is one-time. Recurring costs appear when you onboard users in batches, maintain LDAP mappings, or keep the server upgraded, since those tasks continue after the first import. When requesting a quote, ask for one-time and recurring items to be listed separately, so you can see which costs continue after go-live.

What does the user import deliver at the end?

The import should leave you with working accounts in the Redmine database and enough record to explain how they got there. Typical deliverables include the accounts created, a log of the source file and the mapping applied, a list of rejected rows with the reason for each rejection, test results from staging, a log of the decisions on roles, groups and administrator flags, and a short runbook so future batches follow the same method. These records help with access reviews and with questions from compliance teams. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports or certifications, so independent auditors decide what counts as sufficient evidence for your program.

What goes wrong during a Redmine user import?

The most common problems are duplicate logins or email addresses, rows that fail validation, accounts created as active when they should be locked, administrator flags set by mistake, and welcome emails sent to the wrong people or to a large group at once. Each one is easy to prevent with a staging run and a review of the output before production. Another frequent problem is assuming that a directory-linked account will sign in without a test, when attribute names, group filters or bind accounts differ from what the spreadsheet suggests. Plan a test sign-in for each population, and confirm the notification defaults before anything is sent. Errors that reach production users are costly to correct because people may already have used the accounts.

Does LDAP authentication add to the import effort?

Yes, it usually adds a distinct block of work. Redmine authenticates against LDAP directories natively, so the question is how existing directory identities map onto Redmine accounts. The team must agree which attribute identifies each person, confirm that the directory returns the fields Redmine needs, test sign-in with real accounts, and decide how group membership is maintained after the import. Group handling deserves particular attention, because membership changes in the directory may not match Redmine groups created by hand. Ask a quote to separate directory work from the account import itself, and to state who holds the bind credentials and who can change the directory settings later.

How DeployOpen scopes and delivers user imports

DeployOpen treats a Redmine user import as a planned change to your identity and access setup, not a one-off script run. We agree the scope in writing, build and test the import on a copy of your instance, and hand over the file format, the run record and the steps that follow it. Engagements are fixed-scope, and ongoing support is available as a retainer.

How we scope

  • Confirm the Redmine version, the database and whether your instance uses LDAP or another sign-in method
  • Agree the CSV columns, required fields and how usernames and email addresses will be matched
  • Decide whether account emails go out at creation or are held back until groups and permissions are set
  • Record in the written scope who supplies the source user list and who approves it before import

How we build

  • Map each source column to the Redmine user fields and flag any values that fail validation
  • Run the import against a copy of your production database and review the created accounts
  • Check that group membership and authentication settings are applied correctly after the load
  • Document the exact import steps so the run can be repeated during cutover or a later migration

How we hand over

  • Deliver the tested CSV template, field mapping and a short checklist for the production run
  • Provide a record of created accounts, skipped rows and the reasons each row was not loaded
  • Walk your administrators through the post-import steps: group assignment, LDAP linking and account review
  • Document any plugin or configuration dependency so future Redmine upgrades keep the import process working

How we support

  • Retest the import process when you upgrade Redmine or change the authentication setup
  • Offer ongoing support and continuous maintenance under a retainer if your team wants it
  • Confirm with us in the written scope which follow-up work is included and which is quoted separately

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.