An existing issue was mistakenly moved from a Defect type to Epic. The Defect and Epic workflows share some workflow statuses, but also have ones that are not in common. The moved issue somehow managed to retain its old status, "Ready to Build", which does not exist in the Epic workflow, so now we have an issue that is an Epic, but is not in any valid workflow status. We are unable to move the issue to another type, as we just get the error:
There are errors associated with issues that are to be migrated to the new workflow association.
These errors must be corrected before the workflow association can be completed.
No changes have beenmade to the database.
Errors:
- The issue XXX-2222 is incorrectly associated with the status 'Ready to Build'
Can this be forcibly fixed by DB manipulation? The current working solution is to clone and continue work on that ticket, but the original will float around forever. Is there anything we can do to correct this?
Hi Nancy,
You could try the following:
Best regards,
Peter
Peter, I was hoping to avoid having to do this, but this does indeed work!
A few things to note: Adding the status to a workflow isn't hard, and it doesn't matter if there are transitions for it or not. This allowed the issue to be moved back to Defect.
However, removing the status afterward was a bit tricky, since JIRA does not allow you to remove a status from an active workflow. Remember to create a workflow backup before adding the status, as it allows you to point all your workflow schemes to it afterwards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try the integrity checker first - that has some functions that can fix workflow states. Under Admin -> Troubleshooting (it does other checks, does no harm to run them all)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic, I forgot to mention that I tried the Integrity Checker already, and that it just errors out with a Proxy Error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.