changeFilterOwner method

Future changeFilterOwner({
  1. required int id,
  2. required ChangeFilterOwner body,
})

Changes the owner of the filter.

Permissions required: Permission to access Jira. However, the user must own the filter or have the Administer Jira global permission.

Implementation

Future<dynamic> changeFilterOwner(
    {required int id, required ChangeFilterOwner body}) async {
  return await _client.send(
    'put',
    'rest/api/3/filter/{id}/owner',
    pathParameters: {
      'id': '$id',
    },
    body: body.toJson(),
  );
}