Jira import
Move existing work from Jira into a Youniton project. Check the file with a dry run, then import. A second run of the same file creates nothing new.
#How it works
#Export from Jira
Export the issues from Jira as CSV (UTF-8, with a header row that has
Issue keyandSummary; at most 10,000 rows). Youniton can also read one ZIP of a Jira REST-API export, withcsv/Issues.csvand the optional comments, attachments, worklogs and project parts.#Upload the file
In the Youniton app, open the import, select one target project and upload the file. Youniton scans it like any file. For attachments, upload a ZIP of Jira's attachment files too; Youniton finds each file by its attachment id.
#Map the columns
Map each Jira status to an existing stage of the project, and the
Custom field (…)columns to library fields.Issue TypeEpic becomes an epic; every other type becomes a ticket.#Run a dry run
The dry run reads the whole file and reports the counts (tickets, epics, comments, attachments) and each row error. It writes no ticket.
#Run the import
The run uses exactly the file and the mapping of the last finished dry run. It writes batches of 100 rows. Each Jira key is recorded, so a re-run skips what exists. Rows that fail are listed with the row, the Jira key, the column and the code; the other rows import.
#What to know
- Imported tickets are not client-visible, and notifications skip them. Their activity says "Created by import".
- Comment authors are text in the comment body. Youniton never makes a member or a time stamp up.
- One import runs per tenant at a time (
409 integration.import_running). A lost job resumes from its last committed batch. - You can cancel a queued or running import. Committed batches stay.
- The screen lists what an import does not bring over.
#The API behind the screen
The Youniton app uses these operations with the browser session. A personal token cannot call them in v1: imports are out of the public API.
- POST
/importsStart a Jira CSV import into one project (beta, behind the jira_csv_import flag) - GET
/imports/{importId}/profileThe profile of a file uploaded for the import, for the mapping step — rows, statuses, custom-field columns (R13; XM-1080) - POST
/imports/{importId}/dry-runCheck the uploaded CSV against the mapping — counts and row errors, nothing written - POST
/imports/{importId}/runRun the import checked by the last dry run (same file and mapping), optionally fetching attachments - GET
/imports/{importId}The import's state, progress, counts and first row errors - GET
/imports/{importId}/reportThe whole row report as CSV (row, jira_key, column, code, reason, worklog_id, date, minutes) under the exports' CSV safety rule (XM-112, XM-1387) - POST
/imports/{importId}/cancelCancel a queued or running import or dry run; committed batches stay
Was this helpful?