Thoughts on Importing Tickets from External System and Modifying the SVN fetch
Added by Sam Bo over 14 years ago
I am importing two projects from another system. Both of these projects have ticket #'s that start with 1 and both have svn repo's that reference the ticket # in the commit messages. I've already imported one of them and of course it all works as expected, but I want to import the 2nd project and have the svn commit messages associated to the tickets corrects. My thoughts are the following:
- Change auto increment of the issue id field to 1000
- Import the tickets by starting them at 1001
- Temporarily modify the svn fetch to add 1000 to the logs or modifying the table after it imports all the logs
I'd like feedback on the third item if this would be a good strategy or not?
Replies (1)
RE: Thoughts on Importing Tickets from External System and Modifying the SVN fetch - Added by Sam Bo over 14 years ago
I see nobody responded, but I thought I'd let anyone that might be doing the same thing:
- I hard coded the issue id's by adding 1000 to them and imported them directly into the issue table with the issue id set. Then I set the auto increment ot the next one.
- Added my svn repo to the project and let it get all the commit logs.
- Exported the commit log table and wrote a program to extract and change the references and create an import script for the changesets
- Boom - got it all working..
I hope this helps someone (the process).