createSprint method
Creates a future sprint. Sprint name and origin board id are required. Start date, end date, and goal are optional.
Note that the sprint name is trimmed. Also, when starting sprints from the UI, the "endDate" set through this call is ignored and instead the last sprint's duration is used to fill the form.
Implementation
Future<dynamic> createSprint({required Map<String, dynamic> body}) async {
return await _client.send(
'post',
'rest/agile/1.0/sprint',
body: body,
);
}