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

[CON-1527]feat(zendesk): Human-readable custom fields #1411

Open
wants to merge 1 commit into
base: cobalt0s/zendesk-metadata-v2
Choose a base branch
from

Conversation

Cobalt0s
Copy link
Collaborator

@Cobalt0s Cobalt0s commented Feb 27, 2025

Description

Requests and Tickets objects share the same ticket_fields as its custom fields.

The id is mapped to ticket_fields to figure out the human readable name. However, there is no good JSON type field name. Ex: "customer type", which contains a space because field name is "Customer Type".
image

Custom fields have interesting value options which are either stored under one of the following:
image

There is no good documentation on the types of custom fields. Here is the approach I took to map field types to Ampersand's ValueType:
image

Test

Metadata(Tickets)

image
image

Read(Tickets)

image

@Cobalt0s Cobalt0s self-assigned this Feb 27, 2025
Copy link
Collaborator Author

Cobalt0s commented Feb 27, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Cobalt0s Cobalt0s marked this pull request as ready for review February 27, 2025 01:50
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.

1 participant