Hello, I need to add a worklog entry by the API.I do this according to the documentation:https://docs.atlassian.com/software/jira/docs/api/REST/1000.1584.0/#api/2/issue/\{issueIdOrKey}/worklog-addWorklog
POST http://domain.atlassian.net/rest/api/2/issue/KEY-103/worklog{"comment": "I did some work here.","visibility": {"type": "group","value": "jira-developers"},"started": "2017-12-07T09:23:19.552+0000","timeSpentSeconds": 12000}
However, it works as GET: returns 200 (instead of 201) and a full list of existing worklogs as a result. No new records added.
Insomnia REST client:
Python script:
It looks to me like whatever you are using to connect is issuing a GET instead of the required POST. I'd start with a look at that call (I can't tell what it is just from "POST" stucj on the front)
I guess I figured it out, I used HTTP instead of HTTPS
It looks like you're new here. Sign in or register to get started.