createFieldConfiguration method

Future<FieldConfiguration> createFieldConfiguration({
  1. required FieldConfigurationDetails body,
})

Creates a field configuration. The field configuration is created with the same field properties as the default configuration, with all the fields being optional.

This operation can only create configurations for use in company-managed (classic) projects.

Permissions required: Administer Jira global permission.

Implementation

Future<FieldConfiguration> createFieldConfiguration(
    {required FieldConfigurationDetails body}) async {
  return FieldConfiguration.fromJson(await _client.send(
    'post',
    'rest/api/3/fieldconfiguration',
    body: body.toJson(),
  ));
}