updateCustomField method

Future updateCustomField({
  1. required String fieldId,
  2. required UpdateCustomFieldDetails body,
})

Updates a custom field.

Permissions required: Administer Jira global permission.

Implementation

Future<dynamic> updateCustomField(
    {required String fieldId, required UpdateCustomFieldDetails body}) async {
  return await _client.send(
    'put',
    'rest/api/3/field/{fieldId}',
    pathParameters: {
      'fieldId': fieldId,
    },
    body: body.toJson(),
  );
}