It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

REST POST worklog on issue fails with 500

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' }



{"data":{"message":"Expected authority at index 7: file://", "status-code":500, "stack-trace":"java.lang.IllegalArgumentException: Expected authority at index 7: file://
at com.atlassian.applinks.cors.auth.DefaultCorsService.getApplicationLinksByOrigin(
at com.atlassian.applinks.cors.auth.AppLinksCorsDefaults.allowsOrigin(

Some sidenodes:
- This only happens at THIS endpoint, all the others work file.
- I am aware that I need to log min 60 sec

2 answers

Anyone got an idea on this?

Have you been able to get POST working in Cloud?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Jira Cloud for Google Sheets: Automatically Refresh Your Data!

Remember that time you realized it was possible to refresh your Jira data in Google sheets with just one click? What if we told you that you can now get the latest data with no clicks at all?! Zero! ...

7,364 views 33 29
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you