// resourceRoleUpdate updates jira issue using jira api
resourceRoleUpdate updates jira issue using jira api
// resourceRoleUpdate updates jira issue using jira api
func resourceRoleUpdate(d *schema.ResourceData, m interface{}) error {
	config := m.(*Config)
	role := new(Role)
	setRole(role, d)
	urlStr := fmt.Sprintf("%s/%s", roleAPIEndpoint, d.Id())
	returnedRole := new(Role)
	err := request(config.jiraClient, "PUT", urlStr, role, returnedRole)
	if err != nil {
		return errors.Wrap(err, "Request failed")
	}
	return resourceRoleRead(d, m)
}
func resourceRoleUpdate ( d * schema . ResourceData , m interface { } ) error { config := m . ( * Config ) role := new ( Role ) setRole ( role , d ) urlStr := fmt . Sprintf ( " " , roleAPIEndpoint , d . Id ( ) ) returnedRole := new ( Role ) err := request ( config . jiraClient , " " , urlStr , role , returnedRole ) if err != nil { return errors . Wrap ( err , " " ) } return resourceRoleRead ( d , m ) }
resourceRoleUpdate updates jira issue using jira api
resourceRoleUpdate updates jira issue using jira api