// resourceProjectCategoryRead reads issue details using jira api
resourceProjectCategoryRead reads issue details using jira api
// resourceProjectCategoryRead reads issue details using jira api
func resourceProjectCategoryRead(d *schema.ResourceData, m interface{}) error {
	config := m.(*Config)
	urlStr := fmt.Sprintf("%s/%s", projectCategoryAPIEndpoint, d.Id())
	projectCategory := new(ProjectCategory)
	err := request(config.jiraClient, "GET", urlStr, nil, projectCategory)
	if err != nil {
		return errors.Wrap(err, "Request failed")
	}
	setProjectCategoryResource(projectCategory, d)
	return nil
}
func resourceProjectCategoryRead ( d * schema . ResourceData , m interface { } ) error { config := m . ( * Config ) urlStr := fmt . Sprintf ( " " , projectCategoryAPIEndpoint , d . Id ( ) ) projectCategory := new ( ProjectCategory ) err := request ( config . jiraClient , " " , urlStr , nil , projectCategory ) if err != nil { return errors . Wrap ( err , " " ) } setProjectCategoryResource ( projectCategory , d ) return nil }
resourceProjectCategoryRead reads issue details using jira api
resourceProjectCategoryRead reads issue details using jira api