|Before you begin:|
If you try to re-import same project several times, then you must delete previously imported data before the next attempt.
This document covers importing issues from one YouTrack server to another using the Python Client Library.
Issues are imported per project, a project should be specified by its projectID. When issues are imported all their atributes are imported, including users (from Reporter and Assignee issue fields) and custom fields.
To import all issues in a project from one YouTrack server to another:
- Download the latest version of YouTrack's Python Client Library and unzip it.
- Ensure that either Python is installed in your system.
- Execute the following command:
The following command-line parameters should be provided:
Parameter Description source_url An URL to a source YouTrack server you want to import issues from. source_login Username to log in to a source YouTrack server. source_password Password to log in to the source YouTrack server. target_url An URL to a target YouTrack server you want to import issues to. target_login Username to log into the target YouTrack server. target_password Password to log in to the target YouTrack server. projectId projectID of a project you want to import to the target YouTrack server.