createResolution method

Future<ResolutionId> createResolution({
  1. required CreateResolutionDetails body,
})

Creates an issue resolution.

Permissions required: Administer Jira global permission.

Implementation

Future<ResolutionId> createResolution(
    {required CreateResolutionDetails body}) async {
  return ResolutionId.fromJson(await _client.send(
    'post',
    'rest/api/3/resolution',
    body: body.toJson(),
  ));
}