Unable to import from BugZilla multiple times, even on different machine

Satish Gathole June 2, 2014

Hi,

I have setup BugZilla and Jira both on my local machine and I am using MySQL database.

Imported issues from BugZilla to Jira and it was imported successfully.

Then I drop the jira database and uninstall the jira. Again I created new database for Jira and install fresh Jira and tried to import same issues from BugZilla.

But it doesn't allow me to import even a single issue and all the time it says:

2014-06-03 00:36:52,145 INFO - Only new items will be imported

2014-06-03 00:36:52,216 INFO - 0 issues successfully created

I also tried it on new VM machine but the same msg shows me again and again.

Import logs are bellow

--------------------------------------------------------------------------------------------------------------------------------

2014-06-03 00:36:51,176 INFO - Import started by sgathole using com.atlassian.jira.plugins.importer.imports.bugzilla.BugzillaDataBean

2014-06-03 00:36:51,192 INFO - ------------------------------

2014-06-03 00:36:51,192 INFO - Importing: Users

2014-06-03 00:36:51,192 INFO - ------------------------------

2014-06-03 00:36:51,192 INFO - Only new items will be imported

2014-06-03 00:36:51,263 INFO - 97 users associated with import. 0 new users were created and imported as active.

2014-06-03 00:36:51,263 INFO - ------------------------------

2014-06-03 00:36:51,263 INFO - Finished Importing : Users

2014-06-03 00:36:51,263 INFO - ------------------------------

2014-06-03 00:36:51,263 INFO - 0 users successfully created.

2014-06-03 00:36:51,263 INFO - Retrieving projects...

2014-06-03 00:36:51,264 INFO - Project ExternalProject[jiraId=<null>,id=24948,externalName=taxiforsure-site-tech,name=BugZilla,key=BUG,url=<null>,lead=sgathole,description=All changes for taxiforsure site go here.,projectCategoryName=<null>,avatarUrl=<null>,assigneeType=<null>,versions=<null>,components=<null>,issues=<null>,workflowSchemeName=<null>] already exists. Not imported

2014-06-03 00:36:51,264 INFO - ------------------------------

2014-06-03 00:36:51,264 INFO - Importing: Versions

2014-06-03 00:36:51,264 INFO - ------------------------------

2014-06-03 00:36:51,264 INFO - Only new items will be imported

2014-06-03 00:36:51,272 INFO - ------------------------------

2014-06-03 00:36:51,272 INFO - Finished Importing : Versions

2014-06-03 00:36:51,272 INFO - ------------------------------

2014-06-03 00:36:51,272 INFO - ------------------------------

2014-06-03 00:36:51,272 INFO - Importing: Components

2014-06-03 00:36:51,273 INFO - ------------------------------

2014-06-03 00:36:51,273 INFO - Only new items will be imported

2014-06-03 00:36:51,274 INFO - ------------------------------

2014-06-03 00:36:51,274 INFO - Finished Importing : Components

2014-06-03 00:36:51,274 INFO - ------------------------------

2014-06-03 00:36:51,274 INFO - Project ExternalProject[jiraId=<null>,id=18004,externalName=TFS-Supply,name=BugZilla,key=BUG,url=<null>,lead=sgathole,description=All supply related issues go here.,projectCategoryName=<null>,avatarUrl=<null>,assigneeType=<null>,versions=<null>,components=<null>,issues=<null>,workflowSchemeName=<null>] already exists. Not imported

2014-06-03 00:36:51,274 INFO - ------------------------------

2014-06-03 00:36:51,274 INFO - Importing: Versions

2014-06-03 00:36:51,274 INFO - ------------------------------

2014-06-03 00:36:51,274 INFO - Only new items will be imported

2014-06-03 00:36:51,275 INFO - ------------------------------

2014-06-03 00:36:51,276 INFO - Finished Importing : Versions

2014-06-03 00:36:51,276 INFO - ------------------------------

2014-06-03 00:36:51,276 INFO - ------------------------------

2014-06-03 00:36:51,276 INFO - Importing: Components

2014-06-03 00:36:51,276 INFO - ------------------------------

2014-06-03 00:36:51,276 INFO - Only new items will be imported

2014-06-03 00:36:51,277 INFO - ------------------------------

2014-06-03 00:36:51,277 INFO - Finished Importing : Components

2014-06-03 00:36:51,277 INFO - ------------------------------

2014-06-03 00:36:51,277 INFO - Project ExternalProject[jiraId=<null>,id=24946,externalName=radiotaxiforsure-site-tech,name=BugZilla,key=BUG,url=<null>,lead=sgathole,description=All changes related to RTFS backend go here.,projectCategoryName=<null>,avatarUrl=<null>,assigneeType=<null>,versions=<null>,components=<null>,issues=<null>,workflowSchemeName=<null>] already exists. Not imported

2014-06-03 00:36:51,277 INFO - ------------------------------

2014-06-03 00:36:51,277 INFO - Importing: Versions

2014-06-03 00:36:51,277 INFO - ------------------------------

2014-06-03 00:36:51,277 INFO - Only new items will be imported

2014-06-03 00:36:51,280 INFO - ------------------------------

2014-06-03 00:36:51,280 INFO - Finished Importing : Versions

2014-06-03 00:36:51,280 INFO - ------------------------------

2014-06-03 00:36:51,280 INFO - ------------------------------

2014-06-03 00:36:51,280 INFO - Importing: Components

2014-06-03 00:36:51,280 INFO - ------------------------------

2014-06-03 00:36:51,280 INFO - Only new items will be imported

2014-06-03 00:36:51,283 INFO - ------------------------------

2014-06-03 00:36:51,283 INFO - Finished Importing : Components

2014-06-03 00:36:51,283 INFO - ------------------------------

2014-06-03 00:36:51,283 INFO - Retrieving custom fields...

2014-06-03 00:36:51,295 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@12d2111c[id=bug_url,name=External issue URL,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:url,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:exacttextsearcher,valueMappingDefinition=<null>,valueSet=<null>]

2014-06-03 00:36:51,439 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@73c2196b[id=bug_severity,name=Severity,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:select,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:selectsearcher,valueMappingDefinition=<null>,valueSet=<null>]

2014-06-03 00:36:51,516 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@1d1bb1d7[id=priority,name=Priority,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:select,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:selectsearcher,valueMappingDefinition=<null>,valueSet=<null>]

2014-06-03 00:36:51,741 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@36f58c98[id=status_whiteboard,name=Status Whiteboard,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>]

2014-06-03 00:36:51,822 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@5d05a620[id=cf_rootcause,name=Root Cause of the bug,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:select,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:selectsearcher,valueMappingDefinition=<null>,valueSet=<null>]

2014-06-03 00:36:51,908 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@47e7037b[id=cf_bug_type,name=Request Type,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:select,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:selectsearcher,valueMappingDefinition=<null>,valueSet=<null>]

2014-06-03 00:36:52,068 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@3714f4f7[id=cf_deadline,name=Setting the Deadline,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:datetime,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:datetimerange,valueMappingDefinition=<null>,valueSet=<null>]

2014-06-03 00:36:52,145 INFO - ------------------------------

2014-06-03 00:36:52,145 INFO - Importing: Issues

2014-06-03 00:36:52,145 INFO - ------------------------------

2014-06-03 00:36:52,145 INFO - Only new items will be imported

2014-06-03 00:36:52,216 INFO - 0 issues successfully created

2014-06-03 00:36:52,216 INFO - ------------------------------

2014-06-03 00:36:52,216 INFO - Finished Importing : Issues

2014-06-03 00:36:52,216 INFO - ------------------------------

2014-06-03 00:36:52,218 INFO - Rewriting old issue keys for 0 issues

2014-06-03 00:36:52,218 INFO - ------------------------------

2014-06-03 00:36:52,218 INFO - Importing: Issue Links & Subtasks

2014-06-03 00:36:52,218 INFO - ------------------------------

2014-06-03 00:36:52,218 INFO - Only new items will be imported

2014-06-03 00:36:52,272 INFO - ------------------------------

2014-06-03 00:36:52,272 INFO - Finished Importing : Issue Links & Subtasks

2014-06-03 00:36:52,272 INFO - ------------------------------

2014-06-03 00:36:52,412 INFO - No issues need to be reindexed.

1 answer

0 votes
AgentSmith
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 28, 2014

Check out this previous posting, which mentions several bugs:

https://answers.atlassian.com/questions/251417/during-import-duplicate-custom-fields-are-created

Suggest an answer

Log in or Sign up to answer