deletePriority method

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

Deprecated: please refer to the changelog for more details.

Deletes an issue priority.

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

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