We had issues linked with our DVCS commits incorrectly. there were some old irrelevant commits using JIRA issue references which didn't exist and as new issues with those keys get created the old commits were linked. I followed Pawel's answer from https://community.atlassian.com/t5/JIRA-questions/Can-not-create-jira-project-with-old-edited-project-key/qaq-p/77187
But moved issues rather than export/import. The old issue references via URL still exist even if the old and temporary projects don't. so here's what happened:
1) project with key DS exists
2) project key renamed DSUI in the hopes to break commit links
3) find pawel's answer and create an temp project with key DST
4) move issues from DSUI->DST
5) delete DSUI project
6) Create new project DSUI and move issues from DST->DSUI
7) delete DST project
At this point a DS issue url gets redirected to DSUI.
AFter this issues are still being referenced using DS, DST and DSUI keys. I checked `project_key` table in DB and only the DSUI key exists. However a change history exists in `changeitem` table. the changeitem table does NOT have a row for DS key (since that proj was deleted) but does have rows for rest of the project and key changes. Is this table used for redirection of old issue URLs?
Does the project and issue key change rows need to be cleared out from this table to completely break old references?