code: func (s *PriorityService) GetList() ([]Priority, *Response, error) {
  	apiEndpoint := "rest/api/2/priority"
  	req, err := s.client.NewRequest("GET", apiEndpoint, nil)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	priorityList := []Priority{}
  	resp, err := s.client.Do(req, &priorityList)
  	if err != nil {
  		return nil, resp, NewJiraError(resp, err)
  	}
  	return priorityList, resp, nil
  }
docs: // GetList gets all priorities from JIRA
  //
  // JIRA API docs: https://developer.atlassian.com/cloud/jira/platform/rest/#api-api-2-priority-get