getRequestTypeGroups method
This method returns a service desk's customer request type groups. Jira Service Management administrators can arrange the customer request type groups in an arbitrary order for display on the customer portal; the groups are returned in this order.
Permissions required: Permission to view the service desk.
Implementation
Future<PagedDTORequestTypeGroupDTO> getRequestTypeGroups(
{required String serviceDeskId, int? start, int? limit}) async {
return PagedDTORequestTypeGroupDTO.fromJson(await _client.send(
'get',
'rest/servicedeskapi/servicedesk/{serviceDeskId}/requesttypegroup',
pathParameters: {
'serviceDeskId': serviceDeskId,
},
queryParameters: {
if (start != null) 'start': '$start',
if (limit != null) 'limit': '$limit',
},
));
}