getAllFieldConfigurationSchemes method

Future<PageBeanFieldConfigurationScheme> getAllFieldConfigurationSchemes({
  1. int? startAt,
  2. int? maxResults,
  3. List<int>? id,
})

Returns a paginated list of field configuration schemes.

Only field configuration schemes used in classic projects are returned.

Permissions required: Administer Jira global permission.

Implementation

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