code: func (s *IssueService) GetWorklogs(issueID string) (*Worklog, *Response, error) {
  	apiEndpoint := fmt.Sprintf("rest/api/2/issue/%s/worklog", issueID)
  
  	req, err := s.client.NewRequest("GET", apiEndpoint, nil)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	v := new(Worklog)
  	resp, err := s.client.Do(req, v)
  	return v, resp, err
  }
docs: // GetWorklogs gets all the worklogs for an issue.
  // This method is especially important if you need to read all the worklogs, not just the first page.
  //
  // https://docs.atlassian.com/jira/REST/cloud/#api/2/issue/{issueIdOrKey}/worklog-getIssueWorklog