setFieldConfigurationSchemeMapping method

Future setFieldConfigurationSchemeMapping({
  1. required int id,
  2. required AssociateFieldConfigurationsWithIssueTypesRequest body,
})

Assigns issue types to field configurations on field configuration scheme.

This operation can only modify field configuration schemes used in company-managed (classic) projects.

Permissions required: Administer Jira global permission.

Implementation

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