Importing from CSV

Overview

The CSV import to Assembla Tickets can be performed in the Tickets-Settings page of your Assembla workspace. This importer requires a comma-separated value (CSV) file (maximum size 500KB). If your CSV file is larger than 500KB, you should break it into individual files of 500KB or less. Note that some users report that a import of bigger files may take from 5 to 15 minutes depending on your location or time you upload files for import.

Header line

The first line of the CSV file must contain comma-separated reserved field keywords from this list. The field keywords must be separated by commas (,), and cannot be quoted. The field keywords must be all lowercase. The “summary” field keyword is the only required field.

It is permitted to include other nonstandard keywords in the CSV file. For any nonstandard keywords that are specified, the imported ticket will contain an Assembla custom field.

Ticket lines

The remaining lines of the CSV file must contain comma-separated ticket data, one ticket per line. The ticket data must be in the same sequence as given in the first line.

Internal statuses rules

TODO: Update the list with other known stats => state rules.

Some other general guidelines:

First 2 rows of file – the header and custom field definition rows
All other row text data can be double-quoted.
Make sure you have first added the team members in the Team page of the space.
The Components should auto create, but you can create them first in the Tickets-Settings page.
The custom ticket fields should auto create, but you can create them first also.
File should have an empty line at the end of file

Examples

Example 1

Contains only one field – summary. There are no commas, because there is no need for separation.

summary
this is ticket 1
this is ticket 2
this is ticket 3

Example 2

Contains three columns – assigned_to,summary,description. In this example the first records does not have “assigned_to” and the field is left blank, the same goes for the second record – it does not have “description” and nothing is written after the comma, that comes after the second field.

assigned_to,summary,description
,this is test 1, description 1
na1,this is test 2,
na2,this is test 3, description 3

Example 3

Following example will illustrate how custom fields should be defined in order to be imported. Note that you do not have to provide data types for predefined fields but only custom fields.

reporter,summary,priority,Release Number,Project,Short Comment,Due Date,Tester
,,,numeric,list,text,date,teamlist
jack,summary for first ticket,High,111,Project1,bad ticket,2010/11/05,jack
jack,summary for second ticket,Low,112,Project2,very low priority ticket,2010/11/05,jack
jack,summary for third ticket,Normal,121,Project1,,,

Example 4

Following example will illustrate how to use status and state.


summary,reporter,assigned_to,description,status,priority,milestone,component,importance,story_importance,number,created_on,updated_at,notification_list,completed_date,working_hours,is_story,permission_type,state
This is the summary 100,jack,jack,This is the description,New,High,Two,Component X,,,,,,,,,,,1
This is the summary 200,jack,jack,This is the description,Created,High,Two,Component X,,,,,,,,,,,1
This is the summary 300,jack,jack,This is the description,fixed,High,Two,Component X,,,,,,,,,,,0
This is the summary 400,jack,jack,This is the description,Done,High,Two,Component X,,,,,,,,,,,0

If this would be imported on a default ticket tool, two additional statuses would be created – Created (OPENED) and Done (CLOSED). If no state values would have been provided, both Created and Done statuses would be imported with OPENED state.