code: func (s *ComponentService) Create(options *CreateComponentOptions) (*ProjectComponent, *Response, error) {
  	apiEndpoint := "rest/api/2/component"
  	req, err := s.client.NewRequest("POST", apiEndpoint, options)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	component := new(ProjectComponent)
  	resp, err := s.client.Do(req, component)
  
  	if err != nil {
  		return nil, resp, NewJiraError(resp, err)
  	}
  
  	return component, resp, nil
  }
docs: // Create creates a new JIRA component based on the given options.