Hello,
Did anyone find a good solution for changing Jira project keys including all their depended parts?
We are currently trying to migrate to Jira 4.4.4 from Jira 4.4.1. The problem we are facing is the new validator for project keys.
When we started with Jira 3.12 , the project keys had a default scheme which could be changed. There were no restrictions for those keys and we started to use "-" and "[0-9]". In Jira 4.4.1 those characters were discouraged but were still allowed, so we didn't change.
In Jira 4.4.4 however, there is a validator which contains hardcoded "bad characters" which are not allowed. Those include the "-". This leads to a serious problem with our >100 projects.
If we change the pattern on the db level (which is probably discouraged anyway), we can still use our old projects. As soon as the validator gets called, we'll get into a deadlock, though. It will tell us that "-" is not allowed, but we can't change to default pattern, because old projects don't follow it, so there is no valid key pattern we can enter.
We have written some code to replace the project names in the Export/Import XML and for changing the folder structure that Jira has built on the old keys. However there's references to those keys in some Jira issues and especially in our CVS tags, too. We'll probably find even more references in other software like Confluence, too. Those references will all be gone.
Backwards compatibility seemes to have been *slightly* neglected there...