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