// GetIssuesForSprint returns all issues in a sprint, for a given sprint Id.
// This only includes issues that the user has permission to view.
// By default, the returned issues are ordered by rank.
//
//  JIRA API Docs: https://docs.atlassian.com/jira-software/REST/cloud/#agile/1.0/sprint-getIssuesForSprint
GetIssuesForSprint returns all issues in a sprint, for a given sprint Id.
This only includes issues that the user has permission to view.
By default, the returned issues are ordered by rank.


// GetIssuesForSprint returns all issues in a sprint for a given sprint Id . // This only includes issues that the user has permission to view . // By default the returned issues are ordered by rank . // // JIRA API Docs : https : // docs . atlassian . com / jira - software / REST / cloud / #agile / 1 . 0 / sprint - getIssuesForSprint
func (s *SprintService) GetIssuesForSprint(sprintID int) ([]Issue, *Response, error) {
	apiEndpoint := fmt.Sprintf("rest/agile/1.0/sprint/%d/issue", sprintID)
	req, err := s.client.NewRequest("GET", apiEndpoint, nil)
	if err != nil {
		return nil, nil, err
	}
	result := new(IssuesInSprintResult)
	resp, err := s.client.Do(req, result)
	return result.Issues, resp, err
}
func ( s * SprintService ) GetIssuesForSprint ( sprintID int ) ( [ ] Issue , * Response , error ) { apiEndpoint := fmt . Sprintf ( " " , sprintID ) req , err := s . client . NewRequest ( " " , apiEndpoint , nil ) if err != nil { return nil , nil , err } result := new ( IssuesInSprintResult ) resp , err := s . client . Do ( req , result ) return result . Issues , resp , err }
GetIssuesForSprint returns all issues in a sprint, for a given sprint Id.
GetIssuesForSprint returns all issues in a sprint for a given sprint Id .