Import from JetBrains Space
The import from JetBrains Space lets you migrate projects, issues, comments, users, documents, and other data from a Space organization to YouTrack.
A setup wizard navigates you through the import configuration process. It prompts you to enter the connection settings and lets you map projects in YouTrack to projects in Space. If your Space has a custom set of fields for issues, you can edit the import script in YouTrack directly.
Before you import projects from Space to YouTrack, check the following requirements:
Your YouTrack and Space installations are accessible to inbound connections. Specifically, you need to make sure that your network doesn't block connections between your Space and YouTrack.
The account you use to connect to Space has access to the Space project you want to import. This is the user account whose private access token is used for authentication.
You have direct access to log in to the source application using a password or token.
YouTrack's import engine doesn't support authentication through external authentication modules.
If the Space database contains references to entities that do not exist in YouTrack yet, they are created. The YouTrack user account you use to run the import should have enough permissions to create all imported entities. We recommend using 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 Space and their mapping to YouTrack entities:
Entity in Space
Entity in YouTrack
Issue custom fields and their values
Issue custom fields and their values
Values of issue-typed custom fields
YouTrack imports linked issues with the
YouTrack imports only those tags that the imported issues are tagged with.
Knowledge base articles
YouTrack imports only those user accounts that are set in any fields in the imported issues.
YouTrack imports only those teams that are set as values in team-typed custom fields.
Here is the list of entities in Space that the default import script doesn't process:
To import these entities, customize the default import script.
Set up an Import from Space
Before you add a new import configuration, you need to create a personal access token that will grant access to the target project in Space. Then you can use the token for authorization when setting up the import in YouTrack.
Create a Personal Token in Space
To set up an import of items from Space, first, you need to create a personal token for your Space organization.
To create an personal token in Space:
Log in to Space with an account that is granted administrative permissions.
Navigate to New personal token.and click
Enter a name and specify the access scope for the token.
If you're creating a personal token with limited access, enable those permissions that allow read access to the entities you need to import. The list of required permissions may vary depending on the Space setup and on the import script.
Here is the minimal list of permissions required for the import with default settings:
View member profiles
View member profile basic info
View project details
View project parameters
View folder metadata
View participants in issue comment threads
The new personal token is created.
Copy the token to enter it in the import setup wizard.
For more details on creating API keys, refer to the Space documentation.
Configure an Import from Space in YouTrack
The setup wizard guides you through the setup process.
To configure an import from Space:
From the Administration menu, select .
Click New import to open the setup dialog.
Settings for a New Import from Space are displayed.
Enter values for the following settings:
The URL of your Space organization.
The personal token you have generated in Space for the user account you use to access the target issues and documents.
If required by your Space organization, enable the Use SSL key for client authentication option.
Click the Next button.
The second set of import settings is displayed.
Expand the Manage import for optional datasets section. Here you can configure the import engine to ignore certain parts of the source database during import.
Disable this toggle to ignore historical changes of issues during import.
Disable this toggle to ignore links between issues during import.
By default, these toggles are enabled. This means that YouTrack will pull historical changes and issue links from the import source if the import script supports it.
Select the source and the target YouTrack projects for the import. For more details about project mapping configuration, see Project Mapping.
Optionally, enable the Continuous import. When enabled, YouTrack will periodically poll the issues and documents in the selected Space project and import updates made since the last sync.
Click the Start import button.
YouTrack creates new projects and imports data to the existing ones according to the configured project mapping.
YouTrack imports issues, comments, documents, and users from the selected Space projects to the target YouTrack projects.
If the Continuous import option is enabled, YouTrack will periodically check target Space projects for updated and new issues, comments, and documents.
When you have set up an import, it appears in the Imports list. To view configuration and import details, select the import configuration from the list.
In the details sidebar, YouTrack shows import status, the date and time of the last import, and details on the data that was imported. If there are any problems encountered during import, the error messages are displayed here.
Click the Resume button in the toolbar to explicitly start polling for changes and importing updates from the source Space project.
You can also download the import log file to study and investigate when needed.
On the final step of the import setup, you can select those Space projects 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.
To configure project mapping:
Locate those Space projects that you want to import.
Use the filter bar on the right to filter projects by name.
Select the projects that you want to import. Select the option at the top of the list to import all available Space projects.
Select a target YouTrack project for each Space project.
When loading the list of Space projects for mapping, YouTrack checks for existing YouTrack projects with corresponding names. If it finds a YouTrack project with the same name as the Space 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.
If you want to change a target project, select another option from the corresponding dropdown on the list.
Click Start import to finalize import setup and start import.
After the initial import, the following controls are available in the sidebar:
Immediately imports any changes made in the selected Space projects after the previous import.
Opens the integration settings page in edit mode. Use this option to connect to a different Space organization, update the login credentials, or update project mapping.
Deletes the current import settings. Projects, issues, articles, comments, users, and groups that were imported from the connected Space organization are not affected. If you delete the import settings and connect to the same Space organization, the issues are re-imported into existing projects with new issue IDs.
Download import log
Downloads the import log. Use this option to view and investigate errors that occurred during import.