Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chat-core-zendesk: add support for ticketFields #51

Merged
merged 3 commits into from
Sep 19, 2024

Conversation

popestr
Copy link
Collaborator

@popestr popestr commented Sep 19, 2024

Adds support for the new ticketFields param on the ZendeskHandoff returned from the Chat API. This allows fields specified in the bot config to autopopulate in arbitrary custom Zendesk fields.

TEST=manual,auto

Ran test site locally, using a bot with a field's ID set in the ticketFields. Initiated a support session, saw the field populated with the specified value.

Wrote a unit test validating that the parameters are used and formatted correctly, saw it pass.

Adds support for the new ticketFields param on the ZendeskHandoff
returned from the Chat API. This allows fields specified in the bot
config to autopopulate in arbitrary custom Zendesk fields.

TEST=manual,auto

Ran test site locally, using a bot with a field's ID set in the
ticketFields. Initiated a support session, saw the field populated
with the specified value.

Wrote a unit test validating that the parameters are used and
formatted correctly, saw it pass.
@popestr popestr requested a review from a team as a code owner September 19, 2024 16:06
@popestr popestr merged commit 4f213b0 into main Sep 19, 2024
8 checks passed
@popestr popestr deleted the dev/support-ticket-fields branch September 19, 2024 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants