getFieldConfigurationSchemeMappings method

Future<PageBeanFieldConfigurationIssueTypeItem> getFieldConfigurationSchemeMappings({
  1. int? startAt,
  2. int? maxResults,
  3. List<int>? fieldConfigurationSchemeId,
})

Returns a paginated list of field configuration issue type items.

Only items used in classic projects are returned.

Permissions required: Administer Jira global permission.

Implementation

Future<PageBeanFieldConfigurationIssueTypeItem>
    getFieldConfigurationSchemeMappings(
        {int? startAt,
        int? maxResults,
        List<int>? fieldConfigurationSchemeId}) async {
  return PageBeanFieldConfigurationIssueTypeItem.fromJson(await _client.send(
    'get',
    'rest/api/3/fieldconfigurationscheme/mapping',
    queryParameters: {
      if (startAt != null) 'startAt': '$startAt',
      if (maxResults != null) 'maxResults': '$maxResults',
      if (fieldConfigurationSchemeId != null)
        'fieldConfigurationSchemeId':
            fieldConfigurationSchemeId.map((e) => '$e').join(','),
    },
  ));
}