Not able to import xml file
Dave Miller
justdave at bugzilla.org
Mon Sep 2 18:39:07 UTC 2024
Just saving as XML won't work as you need to have the fields in a specific format within the XML file. The uninitialized variables when running the script are indicating fields that it couldn't find in the file you fed it.
Probably the easiest way to do this is to export an existing bug from Bugzilla in XML (there should be a link at the bottom of the show_bug page for that) and then edit that file to replace the fields with the values you want to import, then feed *that* to the import script.
If you'll be doing this for a lot of bugs, you'll definitely be best off writing a script to create XML files based on what you discover above out of the data you have.
On September 2, 2024 4:26:00 AM EDT, Praveen Kumar Bansal <praveen.bansal at puresoftware.com> wrote:
>Hi Team,
>
>Is there any way I can import csv file directly in Bugzilla. I anyway created .xml file by creating csv and then converting to xml using option XML Spreadsheet 2003 as you see in screenshot below. I have updated column names and also did data massing in csv before conversion. Please check my issue below screenshot.
>
>[cid:image001.png at 01DAFD3F.610C8B70]
>
>Getting below issues. Is it mandatory that I use option from above screenshot as csv to xml using XML Data. Was avoiding this route as tricking asking more details around mapping etc.
>
>[cid:image002.png at 01DAFD3F.D7258BE0]
>
>Thanks and Regards,
>Praveen Bansal
>
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bugzilla.org/pipermail/support-list/attachments/20240902/4d733bc6/attachment.html>
More information about the support-list
mailing list