JetBrains / space-issues-import

Import issues into JetBrains Space 🚀
Apache License 2.0
18 stars 13 forks source link

Can this tool import from on-prem Youtrack? #14

Open kontza opened 8 months ago

kontza commented 8 months ago

I'm trying to import Jira issues via Youtrack in hopes of getting comments and history imported, too.

For this import, I've spun up an on-premises podman container of Youtrack. This import-tool throws in the towel at the start of the import:

ERROR c.j.s.i.y.YoutrackIssuesLoader - failed to parse YT response. 
Does `--youtrackServer` URL match the one in your YT Domain Settings? 
Typically, it should end with /youtrack

Is this tool meant to import only from a cloud Youtrack instance? I'm running YouTrack so that its base URL is http://localhost:48080...

chris-NR commented 7 months ago

I have a similar setup, a local youtrack installation which is accessible via https and http (for testing). I have tested a query to the local api endpoint using curl (with the token) and get the correct response. The docker container however returns the error 'Name or service not known'.

chris-NR commented 7 months ago

I was able to get this to work over http using the docker run option: --add-host=xyz.local=192.168.0.88 I could not get it to work over https with a self-signed certificate. This was the error in that case: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target