getAllBoards method
Returns all boards. This only includes boards that the user has permission to view.
Implementation
Future<Map<String, dynamic>> getAllBoards(
{int? startAt,
int? maxResults,
Map<String, dynamic>? type,
String? name,
String? projectKeyOrId,
String? accountIdLocation,
String? projectLocation,
bool? includePrivate,
bool? negateLocationFiltering,
String? orderBy,
String? expand,
int? filterId}) async {
return await _client.send(
'get',
'rest/agile/1.0/board',
queryParameters: {
if (startAt != null) 'startAt': '$startAt',
if (maxResults != null) 'maxResults': '$maxResults',
if (type != null) 'type': '$type',
if (name != null) 'name': name,
if (projectKeyOrId != null) 'projectKeyOrId': projectKeyOrId,
if (accountIdLocation != null) 'accountIdLocation': accountIdLocation,
if (projectLocation != null) 'projectLocation': projectLocation,
if (includePrivate != null) 'includePrivate': '$includePrivate',
if (negateLocationFiltering != null)
'negateLocationFiltering': '$negateLocationFiltering',
if (orderBy != null) 'orderBy': orderBy,
if (expand != null) 'expand': expand,
if (filterId != null) 'filterId': '$filterId',
},
) as Map<String, Object?>;
}