Hi,
I am getting the issues from a jql through the REST service
/rest/api/latest/search requesting the worklogs of the issues
{
"jql":"project = LHC ORDER BY key ASC",
"startAt":0,
"maxResults":100,
"fields":["id", "key", "summary", "description", "worklog"]
}
in the answer I get the paginated worklogs for the different issues, for example:
{
"expand": "schema,names",
"startAt": 0,
"maxResults": 100,
"total": 58,
"issues": [
{
"expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
"id": "10013",
"self": "https://dortizcloud.atlassian.net/rest/api/latest/issue/10013",
"key": "LHC-1",
"fields": {
"summary": "Find bug",
"description": null,
"worklog": {
"startAt": 0,
"maxResults": 20,
"total": 33,
"worklogs": [...]
}
}
...
}
]
}
but sole returns the top 20.
Is there a way to tell it to return all worklogs or to make other calls to return the remaining worlogs?
I want to avoid calling the service /rest/api/3/issue/{issueIdOrKey}/worklog, as it would be too slow to invoke it for all jql issues.