wiki:TicketImportPlugin

Version 9 (modified by philippe, 6 years ago) (diff)

--

Import or update tickets in batch from an Excel or CSV file into Trac

Description

This plugin lets you import into Trac a series of tickets from an CSV file or (if the xlrd library is installed) from an Excel file.

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.

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.

Based on the ticket id in the imported file, tickets are either created or updated.

It is used by software products development teams daily on several projects in at least three companies.

Installation

For a machine-wide installation on Trac 0.10 or 0.11, run as root on your machine:

easy_install http://trac-hacks.org/svn/ticketimportplugin/trunk

Warning: Clearsilver is currently required on Trac 0.11

For an installation for only one Trac instance (on Trac 0.10, requires the Admin plugin):

Bugs/Feature Requests

This plugin has been tested extensively on Trac 0.11, and a little on Trac 0.10. Please report any issue !

Existing bugs and feature requests for TicketImportPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out TicketImportPlugin from here using Subversion, or browse the source with Trac.

Example

Once you have enabled the plugin and given yourself IMPORT_EXECUTE permission, you will see a new Import tab in the main navigation. This tab contains a complete documentation on exactly how the import works, as well as a form to select the CSV or XLS file to upload:

Screenshot of the Import screen

Once you have uploaded it, a preview screen shows you what will be imported and let you confirm the import.

Recent Changes

[13313] by jun66j5 on 2013-07-02 17:34:37
ticketimportplugin: prevent reporting that the description has changes when a comment is posted even if the ticket isn't changed.
[12819] by jun66j5 on 2013-03-27 18:24:04
TicketImportPlugin: fixed fatal errors with a malformed csv file and improved handling such a file
[12818] by jun66j5 on 2013-03-27 16:02:54
TicketImportPlugin: fixed failures of ImporterTestCase.test_celltypes_ticket_8804

Author/Contributors

Author: farialima
Contributors:

Attachments (14)

Download all attachments as: .zip