getPermissionSchemeGrant method
Returns a permission grant.
Permissions required: Permission to access Jira.
Implementation
Future<PermissionGrant> getPermissionSchemeGrant(
{required int schemeId,
required int permissionId,
String? expand}) async {
return PermissionGrant.fromJson(await _client.send(
'get',
'rest/api/3/permissionscheme/{schemeId}/permission/{permissionId}',
pathParameters: {
'schemeId': '$schemeId',
'permissionId': '$permissionId',
},
queryParameters: {
if (expand != null) 'expand': expand,
},
));
}