Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-12389

JIRA BugzillaImporter needs to be made compatible with Bugzilla 2.22.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 3.13
    • None
    • None
    • Bugzilla 2.22.2 database

    Description

      Currently importing data with attachments fails against the Bugzilla 2.22.2 database due to a schema change in that version.

      From the forums:

      I am trying to use Bugzilla importer provided by Jira to import all the bugs in Bugzilla 2.22 (and 2.22.2) into Jira 3.7.4. However, I have found out that the attachments will not be migrated into Jira and I have gotten the following errors:

      [21:09:36] Importing Issue: "test with attachment"
      [21:09:37] Error on importing attachments for bug 8. Error:Column 'thedata' not found.

      After searching a little bit more, I have found that the database schema of Bugzilla has been changed since 2.21.1. In Bugzilla 2.21.1, a new table named attach_data was introduced to handle big attachment. However, the Bugzilla importer for Jira 3.7.4 (even 3.8) is still using the schema for Bugzilla 1.8.

      Here comes my question:

      Is there anybody who has a fix for this? If so, could you please share your fix(es) with me?

      Attachments

        1. bugzillacompatfix.diff
          1 kB
          Bogdan Dziedzic [Atlassian]
        2. bugzillacompatfix-311.diff
          2 kB
          Hormoz Pirzadeh

        Issue Links

          Activity

            People

              mtokar Michael Tokar
              jed Jed Wesley-Smith (Inactive)
              Votes:
              9 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Time Spent - 3h Remaining Estimate - 5h
                  5h
                  Logged:
                  Time Spent - 3h Remaining Estimate - 5h
                  3h