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

Bugzilla import fails when bugzilla issues contain assignees, reporters and comments by users that do not exist in bugzilla

    XMLWordPrintable

Details

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      The bugzilla importer fails with a stack trace when bugzilla issues contain assignees, reporters and comments by users that do not exist in bugzilla.

      2008-11-25 18:10:00,543 http-8080-Processor24 INFO [atlassian.jira.util.BugzillaImportBean] Exception processing bug id 1
      2008-11-25 18:10:00,543 http-8080-Processor24 WARN [web.action.util.BugzillaImport] Exception thrown while importing Bugzilla data
      java.lang.RuntimeException: Could not create bugzilla user 1, referenced in the bugzilla database.
      	at com.atlassian.jira.util.BugzillaImportBean.createUser(BugzillaImportBean.java:1250)
      	at com.atlassian.jira.util.BugzillaImportBean.getUser(BugzillaImportBean.java:1679)
      	at com.atlassian.jira.util.BugzillaImportBean.createIssue(BugzillaImportBean.java:428)
      	at com.atlassian.jira.util.BugzillaImportBean.createIssues(BugzillaImportBean.java:369)
      	at com.atlassian.jira.util.BugzillaImportBean.create(BugzillaImportBean.java:245)
      	at com.atlassian.jira.web.action.util.BugzillaImport.doRun(BugzillaImport.java:263)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      

      However the importer gracefully noted that some watchers could not be added due to not existing in the bugzilla database. Not sure if this error was caused by lax referential integrity in older versions of bugzilla, or the old version of mysql.

      A workaround is to alter the bugzilla database such that all bugs and comments refer to users that exist.

      Attachments

        Activity

          People

            Unassigned Unassigned
            andrew.myers Andrew Myers [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: