swapSprint method

Future<void> swapSprint({
  1. required int sprintId,
  2. required Map<String, dynamic> body,
})

Swap the position of the sprint with the second sprint.

Implementation

Future<void> swapSprint(
    {required int sprintId, required Map<String, dynamic> body}) async {
  await _client.send(
    'post',
    'rest/agile/1.0/sprint/{sprintId}/swap',
    pathParameters: {
      'sprintId': '$sprintId',
    },
    body: body,
  );
}