Having trouble moving one particular issue to another project?

I have one issue that I just can't seem to move to anothe project no matter what. Other issues could be moved with no problem. Is it because the Resolution is Resolved? (And I can't un-Resolved it).

Log's referral number: efda6a2f-0efa-41b4-89ff-34380fc3cade

Cause

Referer URL: http://www.jiraintake.com/secure/MoveIssueUpdateFields.jspa

com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:MovedIssueKey][id,10632][issueId,10524][oldIssueKey,TAG-15] (SQL Exception while executing the following:INSERT INTO moved_issue_key (ID, OLD_ISSUE_KEY, ISSUE_ID) VALUES (?, ?, ?) (Duplicate entry 'TAG-15' for key 'idx_old_issue_key'))
com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:MovedIssueKey][id,10632][issueId,10524][oldIssueKey,TAG-15] (SQL Exception while executing the following:INSERT INTO moved_issue_key (ID, OLD_ISSUE_KEY, ISSUE_ID) VALUES (?, ?, ?) (Duplicate entry 'TAG-15' for key 'idx_old_issue_key'))

1 answer

If this issue has key tag-15, then it seems you have tried to move the issue previous time without success. There could be a set of partial results of unsuccessful movement and you should clean up them before next try. If the history is not important I recommend to clone the issue and delete it after clone and move the cloned one then. If you need to keep the issue - easiest way is to contact atlassian support
Of course you can delete a SQL record with duplicated idx_old_issue_key and try to move again, but result is not guaranteed. Please don't forget to make backups before such operations

Thank you, cloning and moving works!

Np) Great that simple solution helped you)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

204 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you