<<

importxml

NAME

importxml - Import bugzilla bug data from xml.

SYNOPSIS

 importxml.pl [options] [file ...]

OPTIONS

-?

Print a brief help message and exit.

-v

Print error and debug information. Mulltiple -v increases verbosity

-m --sendmail

Send mail to exporter with a log of bugs imported and any errors.

--attach_path

The path to the attachment files. (Required if encoding="filename" is used for attachments.)

--bug_page

The page that links to the bug on top of urlbase. Its default value is "show_bug.cgi?id=", which is what Bugzilla installations use. You only need to pass this argument if you are importing bugs from another bug tracking system.

--product=name

The product to put the bug in if the product specified in the XML doesn't exist.

--component=name

The component to put the bug in if the component specified in the XML doesn't exist.

DESCRIPTION

     This script is used to import bugs from another installation of bugzilla.
     It can be used in two ways.
     First using the move function of bugzilla
     on another system will send mail to an alias provided by
     the administrator of the target installation (you). Set up an alias
     similar to the one given below so this mail will be automatically 
     run by this script and imported into your database.  Run 'newaliases'
     after adding this alias to your aliases file. Make sure your sendmail
     installation is configured to allow mail aliases to execute code. 

     bugzilla-import: "|/usr/bin/perl /opt/bugzilla/importxml.pl --mail"

     Second it can be run from the command line with any xml file from 
     STDIN that conforms to the bugzilla DTD. In this case you can pass 
     an argument to set whether you want to send the
     mail that will be sent to the exporter and maintainer normally.

     importxml.pl [options] bugsfile.xml

<<