// resourceRoleDelete deletes jira issue using the jira api
resourceRoleDelete deletes jira issue using the jira api
// resourceRoleDelete deletes jira issue using the jira api
func resourceRoleDelete(d *schema.ResourceData, m interface{}) error {
	config := m.(*Config)
	urlStr := fmt.Sprintf("%s/%s", roleAPIEndpoint, d.Id())
	err := request(config.jiraClient, "DELETE", urlStr, nil, nil)
	if err != nil {
		return errors.Wrap(err, "Request failed")
	}
	return nil
}
func resourceRoleDelete ( d * schema . ResourceData , m interface { } ) error { config := m . ( * Config ) urlStr := fmt . Sprintf ( " " , roleAPIEndpoint , d . Id ( ) ) err := request ( config . jiraClient , " " , urlStr , nil , nil ) if err != nil { return errors . Wrap ( err , " " ) } return nil }
resourceRoleDelete deletes jira issue using the jira api
resourceRoleDelete deletes jira issue using the jira api