Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3218084
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:29:12+00:00 2026-05-17T15:29:12+00:00

I have a JIRA environment which already has some information and i’m trying to

  • 0

I have a JIRA environment which already has some information and i’m trying to merge all the bugzilla bugs into JIRA.
I’m trying to use the importer form JIRA “BugzillaImportBean.java‎”
But it’s failing when it tries to insert into the OS_CURRENTSTEP table because of a unique Key violation, essentially the ID already exists in JIRA in that table.

So it crashes at
final GenericValue issue = createIssue(resultSet, getProductName(resultSet, true), componentName);

Error importing data from Bugzilla: com.atlassian.jira.exception.CreateException: Could not create new current step for #259350: root cause: while inserting: [GenericEntity:OSCurrentStep][id,357430][startDate,2010-07-23 05:32:14.414][status,Open][owner,][finishDate,null][actionId,0][stepId,1][dueDate,null][entryId,259350] (SQL Exception while executing the following:INSERT INTO OS_CURRENTSTEP (ID, ENTRY_ID, STEP_ID, ACTION_ID, OWNER, START_DATE, DUE_DATE, FINISH_DATE, STATUS, CALLER) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Duplicate entry ‘357430’ for key 1))

What is the best way of fixing this?
Bugzilla Database Schema: http://tldp.org/LDP/bugzilla/Bugzilla-Guide/dbschema.html
Jira Database Schema: http://confluence.atlassian.com/display/JIRA/Database+Schema
http://confluence.atlassian.com/display/JIRA/Modifying+the+Bugzilla+Importer

CREATE TABLE `OS_CURRENTSTEP` (
  `ID` decimal(18,0) NOT NULL,
  `ENTRY_ID` decimal(18,0) default NULL,
  `STEP_ID` decimal(9,0) default NULL,
  `ACTION_ID` decimal(9,0) default NULL,
  `OWNER` varchar(60) default NULL,
  `START_DATE` datetime default NULL,
  `DUE_DATE` datetime default NULL,
  `FINISH_DATE` datetime default NULL,
  `STATUS` varchar(60) default NULL,
  `CALLER` varchar(60) default NULL,
  PRIMARY KEY  (`ID`),
  KEY `wf_entryid` (`ENTRY_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T15:29:12+00:00Added an answer on May 17, 2026 at 3:29 pm
    1. The problem could be a duplicate sequence value. Check the SEQUENCE_VALUE_ITEM table, look for a row such as “OSCurrentStep” (if this is not the name, the mapping of tables to entity names is in WEB-INF/classes/entitydefs/entitymodel.xml)

      select * from SEQUENCE_VALUE_ITEM where SEQ_NAME='OSCurrentStep'

      • Check what is the maximal used value:
        select MAX(ID) from OS_CURRENTSTEP

      • Set SEQ_ID bigger than the maximal used value, rounding up to a multiple of 10.
        (Described in http://confluence.atlassian.com/display/JIRA/Database+Schema # SEQUENCE_VALUE_ITEM)

      • The failed duplicate key ‘357430’ is a multiple of 10, which suggests this is the reason

    2. An easier but less likely solution: are you trying to import the same issue a second time?

      If so, then “click the ‘Import only new issues’ checkbox in the importer” as described here: http://confluence.atlassian.com/display/JIRA/Importing+Data+from+Bugzilla

      • (You will notice that the failed statement is inside this condition: if (!onlyNewIssues || !previouslyImportedKeys.containsKey...)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have deployed a 'Customer' customfield plugin in JIRA which accesses a SQL Server
I am playing with Weld-SE. I have a project which has pluggable modules. With
I'm using Jira and have been told by the sysadmin that GreenHopper has been
I have written a service for JIRA(a web application runs in tomcat) which runs
I've been a JIRA and Bugzilla admin in past jobs, and have quite often
We're using JIRA with SVN. We didn't have post-commit hooks working right, so some
Issue in JIRA have Start Progress button, which turns issue to In progress status.
I have a large amount of bugs from Jira and Github that I want
In Jira (4.0), under Global Permissions, I have the Jira Users group containing two
I have been using JIRA and Greenhopper to support our Scrum Methodology. Since the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.