Edgewall Software

Changes between Version 23 and Version 24 of TracImport


Ignore:
Timestamp:
May 4, 2011, 4:11:24 PM (13 years ago)
Author:
AdrianFritz
Comment:

Added TicketImportPlugin section. D.R.Y.

Legend:

Unmodified
Added
Removed
Modified
  • TracImport

    v23 v24  
    11= Importing ticket data =
     2[[PageOutline]]
     3
     4== !TicketImportPlugin ==
     5
     6th:TicketImportPlugin
     7
     8Mainly, 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'''.
    29
    310== Bugzilla ==
     
    101108Since 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.
    102109
    103 === Using a comma delimited file - CSV ===
     110=== Comma delimited file - CSV ===
    104111See [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)
    105112Comments 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.
    106113
    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----
     115See also: TracTickets, TracQuery