restoreCustomField method

Future restoreCustomField(
  1. String id
)

Restores a custom field from trash. See Edit or delete a custom field for more information on trashing and deleting custom fields.

Permissions required: Administer Jira global permission.

Implementation

Future<dynamic> restoreCustomField(String id) async {
  return await _client.send(
    'post',
    'rest/api/3/field/{id}/restore',
    pathParameters: {
      'id': id,
    },
  );
}