deleteResolution method

Future<TaskProgressBeanObject> deleteResolution({
  1. required String id,
  2. required String replaceWith,
})

Deletes an issue resolution.

This operation is asynchronous. Follow the location link in the response to determine the status of the task and use Get task to obtain subsequent updates.

Permissions required: Administer Jira global permission.

Implementation

Future<TaskProgressBeanObject> deleteResolution(
    {required String id, required String replaceWith}) async {
  return TaskProgressBeanObject.fromJson(await _client.send(
    'delete',
    'rest/api/3/resolution/{id}',
    pathParameters: {
      'id': id,
    },
    queryParameters: {
      'replaceWith': replaceWith,
    },
  ));
}