Skip to content

intercom-client 7.0+ doesn't allow setting ticket attributes #508

@quanglam2807

Description

@quanglam2807

We're currently using intercom-client 6 and create ticket using this code:

const intercomTicket = await intercomClient.tickets.create({
  ticket_type_id: ticketType,
  contacts: [
    {
      id: contact.id,
    },
  ],
  ticket_attributes: {
    _default_title_: ticket.title ?? 'N/A',
    _default_description_: ticket.description,
  },
});

After upgrading to v7, the type definition no longer includes ticket_attributes in Intercom.CreateTicketRequest, preventing us from setting title and description when creating new ticket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions