I'm trying to use query parameters when getting worklogs of an issue (https://developer.atlassian.com/cloud/jira/platform/rest/v2/#api-rest-api-2-issue-issueIdOrKey-worklog-get). No matter what I do, it seems to just return all worklogs. Everytime, maxResults will equal total, and startAt will equal 0.
I've successfully used startAt and maxResults on other endpoints, but it seems to not work for this one. I am using the REST Api v2 - not v3 - because it's supposedly supposed to be the stable version.
Any help would be much appreciated.
curl -X GET -u <user>:<password> -H "Content-Type: application/json" "<host>/rest/api/2/issue/<issue_id>/worklog?maxResults=1"
I've looked for similar questions but couldn't find any.