YouTrack Server 2022.1 Help

Import from Redmine

YouTrack lets you connect to a Redmine instance and import projects, users, issues, and other entities from Redmine to YouTrack.

Prerequisites

Before you import projects from Redmine to YouTrack, check the following requirements:

  • Your Redmine version is 2.4 or later.

  • Your Redmine installation allows remote API calls. To ensure that, open Administration > Settings > API tab in your Redmine, check the Enable REST web service option, and click Save.

    If your Redmine version is older than 4.10, the option to enable REST API support is located on the Settings > Authentication tab.

  • Your YouTrack and Redmine installations are accessible to inbound connections. Specifically, you need to make sure that your network doesn't block connections between your Redmine installation and YouTrack.

  • Your user account in Redmine has administrative permissions.

Import Details

If the Redmine database contains references to entities that do not already exist in YouTrack, they are created. The YouTrack user account that you use to run the import should have permissions to create all imported entities. We recommend that you use an account with a System Admin role or the Low-level Admin Write permission to run the import.

Here is the list of entities that are imported from Redmine and their mapping to YouTrack entities:

Entity in Redmine

Entity in YouTrack

Projects

Projects

Users

Users

Groups

Groups

Project members

Project team members

Issues

Issues

Watchers

Watchers

Notes

Comments

Files

Attachments

Project wiki page

Knowledge base article

Spent time

Work items. Currently, YouTrack does not import activity categories.

Custom fields, issue statuses, enumerations, issue categories, versions.

Custom fields

Custom field values

Custom field values

Set up an Import from Redmine

The setup wizard guides you through the setup process.

To connect to a Redmine instance:

  1. From the Administration menu, select Integrations > Imports.

  2. Click the New import button.

    • The New Import dialog opens.

    New Import dialog.
  3. Click Redmine.

    • The New Import from Redmine dialog opens.

    New Import from Redmine dialog.
  4. Enter values for the following settings:

    Setting

    Description

    URL

    Enter the URL of the Redmine instance.

    Token

    Enter the API access key from the admin account in Redmine.

    SSL key

    If your Redmine instance requires client SSL authentication, activate the Use SSL key for client authentication switch. You can then select the SSL key that identifies your YouTrack server from the list.

    The list only displays SSL keys that have already been imported into YouTrack. To learn how to generate and upload SSL keys, see SSL Keys.

  5. Click the Next button.

    • The next part of the configuration dialog opens.

    New Import from Redmine dialog step two.
  6. Select source and target projects for import. For details, see Project Mapping.

  7. Click the Start import button.

    • The import process starts.

    • When the import is finished, Import Status is updated.

    Redmine import status.
  8. If you want to learn more details about the import, click the Download import log button.

Default Custom Fields

The list of custom fields that are created in the target YouTrack project by default:

Name

Type

State

state

Assignee

user[1]

Estimation

period

Spent time

period

Priority

enum[1]

Type

enum[1]

Fix versions

version[*]

Due Date

date

Start Date

date

% Done

string

Subsystem

ownedField[1]

Project Mapping

On the final step of the import setup, you have an option to select those Redmine projects that you want to import to YouTrack. You can also choose whether to create a new project for the import or import data into an existing project in YouTrack.

Project Mapping

To configure project mapping:

  1. Locate those Redmine projects that you want to import.

    Use the filter bar on the right to filter projects by name.

  2. Select the projects that you want to import. Check the box on the top of the list to import all available Redmine projects.

  3. Select a target YouTrack project for each Redmine project.

    • When loading the list of Redmine projects for mapping, YouTrack checks for existing YouTrack projects with corresponding names. If it finds a YouTrack project with the same name as the Redmine one, YouTrack suggests it as the target project.

    • If there is no existing YouTrack project with the corresponding name, YouTrack suggests creating a new one.

  4. If you want to change a target project, select another option from the corresponding dropdown on the list.

  5. Click Start import to finalize import setup and start the import.

Delete the Import Configuration

When all your data is imported from Redmine to YouTrack, you can delete the import configuration.

When you delete the import configuration:

  • Redmine entity IDs that are attached to imported issues are also removed.

  • Projects, issues, users, and groups that were imported from the connected Redmine instance are not affected.

If you delete the import settings and connect to the same Redmine instance, the issues are re-imported into existing projects with new issue IDs.

To delete an existing import configuration:

  1. From the Administration menu, select Integrations > Imports.

  2. In the list of configured imports, select the one you need to delete.

    Details sidebar
  3. Click the trash icon in the main toolbar of the page, or the Delete button in the right details sidebar.

  4. In the shown dialog, confirm the operation by clicking Delete.

    Confirm delete operation
    • The current import settings are removed.

    • All entities that are already imported remain in YouTrack.

Last modified: 06 July 2022