moveIssuesToSprintAndRank method

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

Moves issues to a sprint, for a given sprint ID. Issues can only be moved to open or active sprints. The maximum number of issues that can be moved in one operation is 50.

Implementation

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