getAllVersions method
Returns all versions from a board, for a given board ID. This only includes versions that the user has permission to view. Note, if the user does not have permission to view the board, no versions will be returned at all. Returned versions are ordered by the name of the project from which they belong and then by sequence defined by user.
Implementation
Future<dynamic> getAllVersions(
{required int boardId,
int? startAt,
int? maxResults,
String? released}) async {
return await _client.send(
'get',
'rest/agile/1.0/board/{boardId}/version',
pathParameters: {
'boardId': '$boardId',
},
queryParameters: {
if (startAt != null) 'startAt': '$startAt',
if (maxResults != null) 'maxResults': '$maxResults',
if (released != null) 'released': released,
},
);
}