Hi,
I use th Jira Cloud REST API "GET rest/api/3/issue/{issueIdOrKey}/worklog" with query parameter "startedAfter".
I have noticed that the work log recorded at 2024-08-21T00:00:00.000+0900 is not included in the results of the API with 2024-08-21T00:00:00.000+0900 specified for startedAfter.
Is this specification?
I thought the time specified in startedAfter was included, but not the time specified in startedBefore.
This is my query:
https://{host}/rest/api/3/issue/{issue_key}/worklog?startedAfter=1724166000000
I live in Japan, so 1724166000000 means 2024-08-21T00:00:00.000+09:00.
Best regards,
Satoshi
Hello @uenoyama_dominosoft
You seem to be trying to find an issue that was started at the exact stroke of midnight GMT +9hrs, not one single millisecond afterwards. I find it hard to believe that you have an issue that was started at that exact point in time and not one single millisecond before or thereafter.
The startedAfter parameter can only return issues that were started AFTER that exact time (IE >= 2024-08-21T00:00:00.001+09:00) not AT that exact time.
Thanks, David!
The JIRA REST API document didn't write whether startedAfter or startedBefore included the exact time, so I assumed that one of them did.
I understood that the spec is to not include either one.
Best regards,
Satoshi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.