// resourceIssueLinkTypeUpdate updates jira issue using jira api
resourceIssueLinkTypeUpdate updates jira issue using jira api
// resourceIssueLinkTypeUpdate updates jira issue using jira api
func resourceIssueLinkTypeUpdate(d *schema.ResourceData, m interface{}) error {
	config := m.(*Config)
	issueLinkType := new(jira.IssueLinkType)
	issueLinkType.Name = d.Get("name").(string)
	issueLinkType.Inward = d.Get("inward").(string)
	issueLinkType.Outward = d.Get("outward").(string)
	urlStr := fmt.Sprintf("%s/%s", issueLinkTypeAPIEndpoint, d.Id())
	returnedIssueLinkType := new(jira.IssueLinkType)
	err := request(config.jiraClient, "PUT", urlStr, issueLinkType, returnedIssueLinkType)
	if err != nil {
		return errors.Wrap(err, "Request failed")
	}
	return resourceIssueLinkTypeRead(d, m)
}
func resourceIssueLinkTypeUpdate ( d * schema . ResourceData , m interface { } ) error { config := m . ( * Config ) issueLinkType := new ( jira . IssueLinkType ) issueLinkType . Name = d . Get ( " " ) . ( string ) issueLinkType . Inward = d . Get ( " " ) . ( string ) issueLinkType . Outward = d . Get ( " " ) . ( string ) urlStr := fmt . Sprintf ( " " , issueLinkTypeAPIEndpoint , d . Id ( ) ) returnedIssueLinkType := new ( jira . IssueLinkType ) err := request ( config . jiraClient , " " , urlStr , issueLinkType , returnedIssueLinkType ) if err != nil { return errors . Wrap ( err , " " ) } return resourceIssueLinkTypeRead ( d , m ) }
resourceIssueLinkTypeUpdate updates jira issue using jira api
resourceIssueLinkTypeUpdate updates jira issue using jira api