if i do the following get call
http://URL/rest/api/2/issue/85200/worklog
i will get a awnser like this:
{
"startAt": 0,
"maxResults": 12,
"total": 12,
"worklogs": [...]
}
is there a way to manually set the maxresults to a specific number?
Now i will always get the max result.
I want to start at a specific position and set the maxresults.
I tried it like this, but it did nothing.
http://10.5.150.35/rest/api/2/issue/85200/worklog?maxResults=1&startAt=1
http://10.5.150.35/rest/api/2/issue/85200/worklog?jql=maxResults=1&startAt=1
http://10.5.150.35/rest/api/2/issue/85200/worklog?jql=fields=maxResults=1&startAt=1
According to this documentation https://docs.atlassian.com/software/jira/docs/api/REST/7.1.2/#api/2/issue-getIssueWorklog, the first method should work for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.