getIssuesForSprint method
Returns all issues in a sprint, for a given sprint ID. This only includes issues that the user has permission to view. By default, the returned issues are ordered by rank.
Implementation
Future<dynamic> getIssuesForSprint(
{required int sprintId,
int? startAt,
int? maxResults,
String? jql,
bool? validateQuery,
List<Map<String, dynamic>>? fields,
String? expand}) async {
return await _client.send(
'get',
'rest/agile/1.0/sprint/{sprintId}/issue',
pathParameters: {
'sprintId': '$sprintId',
},
queryParameters: {
if (startAt != null) 'startAt': '$startAt',
if (maxResults != null) 'maxResults': '$maxResults',
if (jql != null) 'jql': jql,
if (validateQuery != null) 'validateQuery': '$validateQuery',
if (fields != null) 'fields': fields.map((e) => '$e').join(','),
if (expand != null) 'expand': expand,
},
);
}