Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronisation doesn't work (support for new API) #7

Open
ikorgik opened this issue Jul 21, 2021 · 1 comment
Open

Synchronisation doesn't work (support for new API) #7

ikorgik opened this issue Jul 21, 2021 · 1 comment

Comments

@ikorgik
Copy link

ikorgik commented Jul 21, 2021

Hi and thanks for this amazing extension.

It seems the synchronisation doesn't work anymore since the JetBrains stopped the support of legacy API https://blog.jetbrains.com/youtrack/2021/02/discontinuing-the-legacy-rest-api-action-required/
They asked to migrate all custom code to the new REST API before July 2021.

I installed the extension today, but I see "Unreachable URL" error on the options page when I put the server URL in "Youtrack server URL" field and save the form.

I also see legacy API requests warning on the built-in API traffic monitor page https://www.jetbrains.com/help/youtrack/incloud/2021.2/monitor-rest-api-traffic.html
image

Do you have any plans to move the extension to the new API?
Potentially it can be a quick fix and just require change /rest to /api prefix, as they've mentioned in warning on https://www.jetbrains.com/help/youtrack/devportal/rest-api-reference.html page

@ikorgik
Copy link
Author

ikorgik commented Jul 21, 2021

Added draft implementation, it still requires some work, but it works locally if you add your token in chrome-extension/js/modules/api.js:5
#8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant