You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to try out issue dependencies and when clicking wihtin the dropbox, or typing in an issue, I get the response:
There was an error contacting the server
In the JavaScript console I can see the following error:
API: Server gave an error: error /scm/api/v1/repos/scm/MY_USER/MY_REPO/issues?q=
The problem is, that my ROOT_URL looks like this:
https://mydomain.com/scm
and therefore the API call doesn't find the correct endpoint (see the additional scm after repos/).
It seems like the URL-building part of the API call doesn't take ROOT_URL into account, or simply uses everything after DOMAIN to concat it to v1/repos/
I currently see no workaround which I can do on my side to work around this at the moment.
Screenshots
The text was updated successfully, but these errors were encountered:
I've found the API call here and it seems that the #repolink element in my HTML does have the /scm suffix.
I'm not sure what the correct way is here, either have a different #repolink (which might break other stuff) or have the call relativize the URL correctly taking ROOT_URL into account
[x]
):Description
I wanted to try out issue dependencies and when clicking wihtin the dropbox, or typing in an issue, I get the response:
There was an error contacting the server
In the JavaScript console I can see the following error:
API: Server gave an error: error /scm/api/v1/repos/scm/MY_USER/MY_REPO/issues?q=
The problem is, that my
ROOT_URL
looks like this:https://mydomain.com/scm
and therefore the API call doesn't find the correct endpoint (see the additional
scm
afterrepos/
).It seems like the URL-building part of the API call doesn't take
ROOT_URL
into account, or simply uses everything afterDOMAIN
to concat it tov1/repos/
I currently see no workaround which I can do on my side to work around this at the moment.
Screenshots
The text was updated successfully, but these errors were encountered: