I am trying to extract worklogs from Jira to upload them in our timesheet app.
To do so, I'd like to use the endpoint Get IDs of updated worklogs in order to retrieve worklogs that were updated since last extraction.
My problem is that in the returned JSON:
- I neither can expand properties to get worklogs details directly
https://<MyJiraCloud>.atlassian.net/rest/api/3/worklog/updated?expand=<???????????>
- nor get any IssueId in the JSON returned
{"values":
[{"worklogId":10100,"updatedTime":3714749016604,"properties":[]},
{"worklogId":10101,"updatedTime":8914749138088,"properties":[]},
{"worklogId":10102,"updatedTime":5414767934810,"properties":[]}
So i am stuck here! I have the list of recently updated worklogs but i can't use them as requesting worklog details implies to know what is the related issue.
See Get worklog definition where "IssueIdOrKey" is mandatory:
GET /rest/api/3/issue/{issueIdOrKey}/worklog/{id}
Does anyone has allready encountered this problem and/or has a solution to it? Many thanks!