importxml - Import bugzilla bug data from xml.
importxml.pl [options] [file ...]
Print a brief help message and exit.
Print error and debug information. Mulltiple -v increases verbosity
Send mail to exporter with a log of bugs imported and any errors.
The path to the attachment files. (Required if encoding="filename" is used for attachments.)
The product to put the bug in if the product specified in the XML doesn't exist.
The component to put the bug in if the component specified in the XML doesn't exist.
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