getBoardIssuesForSprint method
Get all issues you have access to that belong to the sprint from the board. Issue returned from this resource contains additional fields like: sprint, closedSprints, flagged and epic. Issues are returned ordered by rank. JQL order has higher priority than default rank.
Implementation
Future<dynamic> getBoardIssuesForSprint(
{required int boardId,
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/board/{boardId}/sprint/{sprintId}/issue',
pathParameters: {
'boardId': '$boardId',
'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,
},
);
}