|Before you begin:|
If you try to re-import same project several times, then you must delete previously imported data before the next attempt.
To import issues from an existing Jira 5.x server:
- Download the latest version of YouTrack's Python Client Library and unzip it.
- Install Python.
- Take a look at the _init_.py file located in the <unzipped library directory>\python\jira directory. This mapping file defines correspondence between source fields in Jira project and the type of YouTrack issue's attributes, to which these fields should be converted. In general, this default mapping file is enough for the import, however if you feel the default mapping is not sufficient for your particular usecase, you may edit it. For more details about structure of the library, please to the Python Client Library
- Import issues from your Jira installation to YouTrack running the following command:
The following command line parameters should be provided:
Parameter Description jira_url URL of the source Jira server jira_login Jira administrator user name. jira_password Jira administrator password to log in. youtrack_url The URL of the target Youtrack server. youtrack_login YouTrack administrator user name. youtrack_password YouTrack administrator password to log in.. project_id Project ID of a project in Jira to be imported. In YouTrack a project with the same projectID will be created. issues_count Number of issues to import from the source Jira project skip_count Number of issues in the source project to skip before import. Optional parameter.
To import 1234 issues from the PRJ project in the "http://jira.company.com" Jira installation to YouTrack InCloud instance, use the following command: