script to migrate redmine issue and wiki to azure devops work items and wiki
This repo has a couple of scripts that can help you to migrate from redmine
to Azure DevOps. It is not a fire and forgot kind of script but acts as
a starting point for your own migration.
The script migrate.py
will migrate your Redmine issues to Azure DevOps work items.
To use it you have to:
requirements.txt
After that you can try it. I highly recommend to first try it on a test project.
It does not migrate everything perfectly.
What works:
Caveats:
The script will also dump a json file with the mapping between redmine issue ids and azure work item ids.
The script wiki.py
will ‘download’ all the wiki pages and put them in a directory
structure. This can then be added to the git repo of a Azure DevOps wiki. To find
the git repo for a wiki, read this.
With the script migrate-wiki.py
you can change the issue references in the wikipages to the
‘new’ work item id in Azure DevOps. You need to use the json file dumped by the issue migration
script. Example:
find -name '*.md' -print0 | xargs -L1 -0 python3 migrate-wiki.py issue-mapping.json