Importing Issues from a CSV File
The Python Client Library supports importing issues to YouTrack from a CSV file. Virtually, this option enables you importing data from any other issue tracker, which supports export to a CSV file.
To import issues from an existing CSV file:
- Download the latest version of YouTrack's Python Client Library and unzip it.
- Install Python.
- Create a mapping file to set the correspondence between source fields in a CSV file and YouTrack issue's attributes. This mapping file should be created in the
<unzipped library directory>\python\csvClientdirectory. For more details about structure of the library, please to the Python Client Library
- When a mapping file is created, specify the mapping file in the
- Import issues from a file to YouTrack running the following command:
Path to the source CSV file.
The URL of the target YouTrack server.
YouTrack administrator user name.
YouTrack administrator password to log in.
The following command line parameters should be provided:
The current format for importing comments is as follows:
That is, any string between commas (i.e. a column) that comes without a name (like field names in the sample above) will be rendered as a comment.
If you want to use any other format, you should modify the script.
In this section you will find examples of CSV file and a mapping file.