Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#7696 closed enhancement (fixed)

[PATCH] bugzilla2trac.py: import into custom fields

Reported by: nmiller@… Owned by: Jeroen Ruigrok van der Werven
Priority: normal Milestone: 0.12
Component: ticket system Version: 0.11-stable
Severity: normal Keywords: bugzilla patch
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

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 (1)

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

Download all attachments as: .zip

Change History (3)

by nmiller@…, 16 years ago

Attachment: bugzilla_customfields.patch added

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

comment:1 by Remy Blank, 16 years ago

Milestone: 2.0

comment:2 by Jeroen Ruigrok van der Werven, 16 years ago

Milestone: 2.00.12
Resolution: fixed
Status: newclosed

Committed to r8055.

Thanks! Apologies for the long delay.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jeroen Ruigrok van der Werven.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jeroen Ruigrok van der Werven to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.