Changes between Version 23 and Version 24 of TracImport
- Timestamp:
- May 4, 2011, 4:11:24 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracImport
v23 v24 1 1 = Importing ticket data = 2 [[PageOutline]] 3 4 == !TicketImportPlugin == 5 6 th:TicketImportPlugin 7 8 Mainly, but not only, this plug-in lets you import into Trac a series of tickets from a '''CSV file''' or (if the [http://pypi.python.org/pypi/xlrd xlrd library] is installed) from an '''Excel file'''. 2 9 3 10 == Bugzilla == … … 101 108 Since trac uses a SQL database to store the data, you can import from other systems by examining the database tables. Just go into [http://www.sqlite.org/sqlite.html sqlite] command line to look at the tables and import into them from your application. 102 109 103 === Using a comma delimited file - CSV ===110 === Comma delimited file - CSV === 104 111 See [http://trac.edgewall.org/attachment/wiki/TracSynchronize/csv2trac.2.py] for details. This approach is particularly useful if one needs to enter a large number of tickets by hand. (note that the ticket type type field, (task etc...) is also needed for this script to work with more recent Trac releases) 105 112 Comments on script: The script has an error on line 168, ('Ticket' needs to be 'ticket'). Also, the listed values for severity and priority are swapped. 106 113 107 === Using an Excel (.xls) or comma delimited file (.csv) === 108 This plugin http://trac-hacks.org/wiki/TicketImportPlugin lets you import into Trac a series of tickets from a CSV file or (if the xlrd library is installed) from an Excel file. 109 110 You can also use it to modify tickets in batch, by saving a report as CSV, editing the CSV file, and re-importing the tickets. 111 112 This plugin is very useful when starting a new project: you can import a list of requirements that may have come from meeting notes, list of features, other ticketing systems... It's also great to review the tickets off-line, or to do massive changes to tickets. 113 114 Based on the ticket id (or, if no id exists, on the summary) in the imported file, tickets are either created or updated. 115 116 114 ---- 115 See also: TracTickets, TracQuery