getSprint method

Future getSprint(
  1. int sprintId
)

Returns the sprint for a given sprint ID. The sprint will only be returned if the user can view the board that the sprint was created on, or view at least one of the issues in the sprint.

Implementation

Future<dynamic> getSprint(int sprintId) async {
  return await _client.send(
    'get',
    'rest/agile/1.0/sprint/{sprintId}',
    pathParameters: {
      'sprintId': '$sprintId',
    },
  );
}