wpoely86 / redmine-azure-devops-migrate

script to migrate redmine issue and wiki to azure devops work items and wiki
GNU General Public License v3.0
8 stars 5 forks source link

Support for Azure Devops Server #3

Open krozbol100 opened 3 years ago

krozbol100 commented 3 years ago

Hi,

I tried using this script with Azure Devops Server 2020 but it seems that api there works differently and I didn't succeed. Did you try it? Maybe I can help you implement the support for the server.

Thanks and br, Sadmir.

wpoely86 commented 3 years ago

I have no experience with that. As long as the azure devops python package work with it, it should be fine. Maybe it doesn't support v6.0 of the API yet? Some things (I think comments/notes) were not working with api v5.x.

krozbol100 commented 3 years ago

Ok, I've got it working - seems like I had problem with python and windows cert store (which is in use by Azure Devops Server).

Steps:

-----BEGIN CERTIFICATE----- blabla -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- blabla -----END CERTIFICATE-----

After that, edit migrate.py. Organization is Collection, and line 200 is not dev.azure.com but hostname.domain.com of Azure Devops Server: base_url=f"https://hostname.domain.com/{organization}"

Thanks for you effort!

Br, Sadmir.