Manage Smart Lists
Drag to reorder ยท Click ร— to delete
Loading Support Tickets...
Could not load tickets

    
  
Advanced Filters
Manage Fields
Fields in table
Manage Smart Lists
Drag to reorder ยท Click ร— to delete
// Debug: log contact ID situation if(tickets.length>0){ var sp=tickets[0].props; console.log('Props keys: '+Object.keys(sp).sort().join(', ')); var fields=['associated_contact_id','contactId','contact_id','associatedContactId']; fields.forEach(function(f){if(sp[f])console.log('Contact field "'+f+'": '+sp[f]);}); var wc=tickets.filter(function(t){return fields.some(function(f){return !!(t.props||{})[f];});}).length; console.log(wc+'/'+tickets.length+' tickets have a contact field'); apiCall('probe_record',{}).then(function(r){ if(r.first_record){ console.log('Record top-level keys: '+Object.keys(r.first_record).join(', ')); var rec=r.first_record; if(rec.properties) console.log('Properties keys: '+Object.keys(rec.properties).join(', ')); ['contactId','contact_id','associatedContactId','associated_contact_id'].forEach(function(f){ if(rec[f]) console.log('TOP-LEVEL '+f+': '+rec[f]); if(rec.properties&&rec.properties[f]) console.log('PROPS '+f+': '+rec.properties[f]); }); } }).catch(function(e){console.warn('probe_record failed: '+e.message);}); }