Edgewall Software

Ticket #7696 (new enhancement)

Opened 8 weeks ago

Last modified 6 weeks ago

[PATCH] bugzilla2trac.py: import into custom fields

Reported by: nmiller@… Owned by: jruigrok
Priority: normal Milestone: 2.0
Component: ticket system Version: 0.11-stable
Severity: normal Keywords: bugzilla patch
Cc:

Description

The included patch adds several enhancements and fixes a few small issues. Please let me know if I should break the patch into multiple tickets.

1) Adds support for importing into trac custom fields from any bugzilla field in the bugs table (or 'product' or 'component') (see CUSTOMFIELD_MAP). This feature can import from Bugzilla custom fields, which were introduced in 3.0, but should not actually require 3.0.

2) Adds a config parameter for not importing disabled bugzilla users into trac (IGNORE_DISABLED_USERS).

3) Changes the default BUG_NO_RE to convert bug numbers with up to 5 digits (I might be confused, but the default appears to only convert references to bugs 1-9).

4) Bug fix: Does not strip away CC field values that don't include '@', since the LOGIN_MAP maps email addresses to user IDs.

Noah

Attachments

bugzilla_customfields.patch (2.3 KB) - added by nmiller@… 8 weeks ago.
bugzilla2trac.py patch import into trac custom fields, fix CC fields, ignore disabled users, and match more bug references

Change History

Changed 8 weeks ago by nmiller@…

bugzilla2trac.py patch import into trac custom fields, fix CC fields, ignore disabled users, and match more bug references

Changed 6 weeks ago by rblank

  • milestone set to 2.0

Add/Change #7696 ([PATCH] bugzilla2trac.py: import into custom fields)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from jruigrok. Next status will be 'new'
The owner will change from jruigrok to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.