updateFieldConfiguration method

Future updateFieldConfiguration({
  1. required int id,
  2. required FieldConfigurationDetails body,
})

Updates a field configuration. The name and the description provided in the request override the existing values.

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

Permissions required: Administer Jira global permission.

Implementation

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