updateFieldConfigurationItems method

Future updateFieldConfigurationItems({
  1. required int id,
  2. required FieldConfigurationItemsDetails body,
})

Updates fields in a field configuration. The properties of the field configuration fields provided override the existing values.

This operation can only update field configurations used in company-managed (classic) projects.

The operation can set the renderer for text fields to the default text renderer (text-renderer) or wiki style renderer (wiki-renderer). However, the renderer cannot be updated for fields using the autocomplete renderer (autocomplete-renderer).

Permissions required: Administer Jira global permission.

Implementation

Future<dynamic> updateFieldConfigurationItems(
    {required int id, required FieldConfigurationItemsDetails body}) async {
  return await _client.send(
    'put',
    'rest/api/3/fieldconfiguration/{id}/fields',
    pathParameters: {
      'id': '$id',
    },
    body: body.toJson(),
  );
}