Hi,
I have a problem when trying to use the API "GET rest/api/2/issue/{issueIdOrKey}/worklog" (I'm using Python). I would like to use the query parameter "startedAfter" but I'm finding some difficulties on using it, can you help me and tell me what I'm doing wrong?
The documentation says:
startedAfter
integer
The worklog start date and time, in UNIX timestamp format, after which worklogs are returned.
Format: int64
I converted the date ['2019', '12', '10', '00', '00'] to unix timestamp format using:
dt = datetime.datetime(2019, 12, 10, 00, 00)
unix_tm = (time.mktime(dt.timetuple()))
And then create the url:
https://{host}/rest/api/2/issue/{issue_key}/worklog?jql=startedAfter=1575932400But I always get all the worklogs and not just those after that date...
I also tried:
https://{host}/rest/api/2/issue/{issue_key}/worklog?startedAfter=1575932400Thank you so much in advance!
Lara