code: func (s *IssueService) AddWorklogRecord(issueID string, record *WorklogRecord) (*WorklogRecord, *Response, error) {
  	apiEndpoint := fmt.Sprintf("rest/api/2/issue/%s/worklog", issueID)
  	req, err := s.client.NewRequest("POST", apiEndpoint, record)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	responseRecord := new(WorklogRecord)
  	resp, err := s.client.Do(req, responseRecord)
  	if err != nil {
  		jerr := NewJiraError(resp, err)
  		return nil, resp, jerr
  	}
  
  	return responseRecord, resp, nil
  }
docs: // AddWorklogRecord adds a new worklog record to issueID.
  //
  // https://developer.atlassian.com/cloud/jira/platform/rest/#api-api-2-issue-issueIdOrKey-worklog-post