code: func (s *IssueService) DoTransitionWithPayload(ticketID, payload interface{}) (*Response, error) {
  	apiEndpoint := fmt.Sprintf("rest/api/2/issue/%s/transitions", ticketID)
  
  	req, err := s.client.NewRequest("POST", apiEndpoint, payload)
  	if err != nil {
  		return nil, err
  	}
  
  	resp, err := s.client.Do(req, nil)
  	if err != nil {
  		err = NewJiraError(resp, err)
  	}
  
  	return resp, err
  }
docs: // DoTransitionWithPayload performs a transition on an issue using any payload.
  // When performing the transition you can update or set other issue fields.
  //
  // JIRA API docs: https://docs.atlassian.com/jira/REST/latest/#api/2/issue-doTransition