Hey guys
I am trying to post to the worklog endpoint at `/issue/${issue.number}/worklog`
But the request fails with 500 and a very long and mysterious response.
Full request:
Path: /issue/${issue.number}/worklog
Method: POST
Body: { timeSpentSeconds: 120 }
Authorization: Basic ***
Headers: { 'Content-Type': 'application/json', 'Cache-Control': 'no-cache' }
Response:
{"data":{"message":"Expected authority at index 7: file://", "status-code":500, "stack-trace":"java.lang.IllegalArgumentException: Expected authority at index 7: file://
at java.net.URI.create(URI.java:852)
at com.atlassian.applinks.cors.auth.DefaultCorsService.getApplicationLinksByOrigin(DefaultCorsService.java:54)
at com.atlassian.applinks.cors.auth.AppLinksCorsDefaults.allowsOrigin(AppLinksCorsDefaults.java:37)
at com.atlassian.plugins.rest.common.security.jersey.XsrfResourceFilter$1.apply(XsrfResourceFilter.java:269)
at com.atlassian.plugins.rest.common.security.jersey.XsrfResourceFilter$1.apply(XsrfResourceFilter.java:267)
at com.google.common.collect.Iterators.indexOf(Iterators.java:796)\n\tat com.google.common.collect.Iterators.any(Iterators.java:706)
at com.google.common.collect.Iterables.any(Iterables.java:621)\n\tat com.atlassian.plugins.rest.common.security.jersey.XsrfResourceFilter.isAllowedViaCors(XsrfResourceFilter.java:267)
at com.atlassian.plugins.rest.common.security.jersey.XsrfResourceFilter.passesAdditionalBrowserChecks(XsrfResourceFilter.java:206)
...Some sidenodes:
- This only happens at THIS endpoint, all the others work file.
- I am aware that I need to log min 60 sec