getChangeLogs method
Returns a paginated list of all changelogs for an issue sorted by date, starting from the oldest.
This operation can be accessed anonymously.
Permissions required:
- Browse projects project permission for the project that the issue is in.
- If issue-level security is configured, issue-level security permission to view the issue.
Implementation
Future<PageBeanChangelog> getChangeLogs(
{required String issueIdOrKey, int? startAt, int? maxResults}) async {
return PageBeanChangelog.fromJson(await _client.send(
'get',
'rest/api/3/issue/{issueIdOrKey}/changelog',
pathParameters: {
'issueIdOrKey': issueIdOrKey,
},
queryParameters: {
if (startAt != null) 'startAt': '$startAt',
if (maxResults != null) 'maxResults': '$maxResults',
},
));
}