Importing ticket data

Bugzilla

Ticket data can be imported from Bugzilla using the bugzilla2trac.py script, available in the contrib/ directory of the Trac distribution.

$ bugzilla2trac.py
bugzilla2trac - Imports a bug database from Bugzilla into Trac.

Usage: bugzilla2trac.py [options]

Available Options:
  --db <MySQL dbname>              - Bugzilla's database
  --tracenv /path/to/trac/env      - full path to Trac db environment
  -h | --host <MySQL hostname>     - Bugzilla's DNS host name
  -u | --user <MySQL username>     - effective Bugzilla's database user
  -p | --passwd <MySQL password>   - Bugzilla's user password
  -c | --clean                     - remove current Trac tickets before importing
  --help | help                    - this help info

Additional configuration options can be defined directly in the script.

Currently, the following data is imported from Bugzilla:

  • bugs
  • bug activity (field changes)
  • bug attachments
  • user names and passwords (put into a htpasswd file)

The script provides a number of features to ease the conversion, such as:

  • PRODUCT_KEYWORDS: Trac doesn't have the concept of products, so the script provides the ability to attach a ticket keyword instead.
  • IGNORE_COMMENTS: Don't import Bugzilla comments that match a certain regexp.
  • STATUS_KEYWORDS: Attach ticket keywords for the Bugzilla statuses not available in Trac. By default, the 'VERIFIED' and 'RELEASED' Bugzilla statuses are translated into Trac keywords.

For more details on the available options, see the configuration section at the top of the script.

Sourceforge

Ticket data can be imported from Sourceforge using the sourceforge2trac.py script, available in the contrib/ directory of the Trac distribution.

Mantis

Mantis bugs can be imported using the attached script.

Currently, the following data is imported from Mantis:

  • bugs
  • bug comments
  • bug activity (field changes)

Attachments are NOT imported. If you use the script, please read the NOTES section (at the top of the file) and make sure you adjust the config parameters for your environment.

mantis2trac.py has the same parameters as the bugzilla2trac.py script:

mantis2trac - Imports a bug database from Mantis into Trac.

Usage: mantis2trac.py [options] 

Available Options:
  --db <MySQL dbname>              - Mantis database
  --tracenv /path/to/trac/env      - Full path to Trac db environment
  -h | --host <MySQL hostname>     - Mantis DNS host name
  -u | --user <MySQL username>     - Effective Mantis database user
  -p | --passwd <MySQL password>   - Mantis database user password
  -c | --clean                     - Remove current Trac tickets before importing
  --help | help                    - This help info

Additional configuration options can be defined directly in the script.

Other

Since trac uses a SQL database to store the data, you can import from other systems by examining the database tables. Just go into sqlite command line to look at the tables and import into them from your application.

Using a comma delimited file - CSV

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)

prednisone prednisone side effects side effects of prednisone prednisone withdrawal 2737 aid amerimedrx com levitra prevacid prevacid nexium prevacid prilosec rabeprazole or aciphex or omeprazole or prilosec or prevacid prilosec prevacid nexium soma buy cialis levitra low online pharmacy price soma viagra drug interaction soma ultram akane soma buy soma drug soma prescription tylenol ultram without tylenol tylenol pm ultram ultram or tylenol without a prescription tylenol 3 tylenol pm ultram ultram pharmacology pharmacokinetics studies metabolism ultram indications dosage storage stability tramadol hcl survey 0 42 ultram ultram cod ultram pain medication req ultram ultram and euphoria ultram real estate agent name badge information medication ultram pay pal order ultram drug smtp ru link ultram canada online order pharmacy ultram ultram pain med not effective fibro physicians desk reference ultram ultram online pharmacy ultram with hydrocodone ultram ultracet side effects ultram price ultram ultram prescription online viagra viagra cialis levitra cialis levitra sales viagra levitra viagra buy levitra online viagra cialis compare levitra viagra levitra and cialis and viagra viagra cyalis levitra compared difference between cialis levitra viagra viagra levitra cialis between difference levitra viagra cialis levitra sale viagra levitra compare viagra viagra medication prescription levitra cialis propecia cialis dysfunction erectile levitra viagra difference viagra levitra cialis comparison of cialis levitra and viagra cialis comparison levitra viagra which is better viagra cialis or levitra cialis viagra levitra levitra vs viagra buy levitra viagra xanax buy cheap levitra xanax xenical buy xanax online buy xanax xanax online zoloft and xanax zocor zocor vs lipitor sildenafil citrate and zocor zocor side effects
celebrex celebrex levitra nexium propecia renova valtrex viagra celebrex meridia ultram celebrex side effects cialis cialis levitra prescriptionscom viagra cialis levitra cialis levitra sales viagra cialis levitra cialis compare levitra viagra levitra and cialis and viagra difference between cialis levitra viagra levitra vs cialis cialis and levitra viagra levitra cialis cialis levitra sale viagra viagra medication prescription levitra cialis propecia cialis dysfunction erectile levitra viagra difference viagra levitra cialis comparison of cialis levitra and viagra cialis comparison levitra viagra which is better viagra cialis or levitra cialis viagra levitra viagra levitra cialis pharmacist prescription drug comparison viagra levitra cialis cialis drug drug levitra pharmacist prescription levitra cialis for women effexor effexor xr effexor side effects effexor withdrawal celexa effexor wellbutrin paxil compare levitra levitra guaranteed cheapest online levitra com cialis levitra prescriptionscom viagra cialis levitra cialis levitra sales viagra levitra clinical data levitra viagra buy levitra online viagra cialis levitra buy levitra buy levitra online levitra online levitra softabs discount levitra order levitra levitra danger cialis compare levitra viagra levitra and cialis and viagra viagra cyalis levitra compared levitra link online idleplay net difference between cialis levitra viagra levitra vs cialis cialis and levitra lipitor canadian levitra lipitor mexican online pharmacy pharmacy levitra lipitor online pharmacy pharmacy zoloft phentermine lipitor side effects zocor vs lipitor lipitor vs zocor flonase levitra myonlinemeds biz nexium stimula nexium celebrex levitra nexium propecia renova valtrex viagra nexium prilosec versus new yorker prilosec nexium norvasc norvasc ultram norvasc side effects what does norvasc do3f cialis 26 norvasc pfyzer norvasc plavix advair evista lipitor plavix altace lipitor plavix toprol altace lipitor plavix toprolphp