Skip to content
Independent guides for support teamsHow we work
Support SystemsJournal

The software.
The decisions.
The people behind support.

Integrations and Data

Mapping Custom Ticket Fields Between Two Systems

Specify field meaning, missing-versus-clear behavior, enum transformations and safe exceptions before connecting two ticket systems.

Two plain document folders arranged on a desk
AI-generated editorial illustration.

Two fields can have the same label and still mean different things. “Priority” may describe urgency in one help desk and a purchased service tier in another. A mapping should preserve business meaning, distinguish missing information from an intentional clear, and make unsupported values visible. Copying everything into a destination field is not a reliable migration strategy.

Build a transformation specification before writing the connector. For each field, record the source and destination IDs, their types, the field owner, the allowed values, and the intended behavior on both creation and update. The following worksheet and fictional records show how to make those decisions testable.

Inventory meaning, shape and visibility

Capture the internal field identifier as well as the display label. Labels can change or be translated, while a mapping may still refer to the original ID. Record length limits, numeric precision, currency, timezone, required status, enum IDs and whether a field is customer-visible. Check which API operations can read or write it and whether permission differs by role.

Identify the authority for each field. A copy in the support system may be useful context without being the place where an entitlement or billing change is approved. A synced customer ID is a scoped lookup key, not proof that the current requester may view the customer’s history. Apply access checks separately from data transformation.

Do not copy session tokens, secrets or unnecessary personal information into a generic metadata field just because there is no obvious destination. An omitted field should have a documented reason. If a useful field has no suitable destination, evaluate a supported custom field or a restricted reference to the source rather than silently losing meaning.

Distinguish absence, clear and invalid input

A missing property in a partial update often means “no instruction about this field.” An explicit null or empty string may mean “clear,” “unknown,” or something else according to the source API. False and zero are valid values in many schemas; do not treat them as blank simply because a programming language considers them false-like.

Define parsing before classification. A date string in a different documented format may be transformable, not invalid. An ambiguous value such as 03/04/2026 needs an agreed format; guessing can move a follow-up by a month. A date-only field and a timestamp are also different types. Avoid adding midnight in an arbitrary timezone unless the mapping explicitly requires that interpretation.

For enums, compare stable option identifiers where supported. A renamed label can retain its identity, while two identical labels may refer to different options. Keep a mapping for approved equivalents and a separate path for unknown or retired values. Do not silently map an urgent new category to a routine default merely to keep the sync green.

A four-field transformation worksheet

This example describes updates to existing tickets. Creation rules may differ because a destination can require fields that an update may omit. “Hold” means record a visible mapping exception for review; unrelated safe fields may proceed only if your workflow supports partial completion without creating an inconsistent ticket.

Source → destination Approved transform Missing property Explicit clear or invalid value
Urgency → priority Low→Low, Normal→Medium, High→High; Critical requires the agreed escalation path Leave existing priority unchanged Hold when clearing or an unknown value would undermine routing
Scoped order reference → order reference Preserve the complete approved key Leave unchanged Clear only through the approved association-removal process; never truncate an identifier
Follow-up required → follow-up flag Map documented true and false values exactly Leave unchanged Do not turn null, an empty string or “N/A” into false without an explicit business rule
Follow-up date → follow-up date Parse the documented date-only format and emit the destination format Leave unchanged Apply an authorized clear when supported; hold ambiguous or impossible dates

The worksheet deliberately avoids mapping a purchased support tier directly to a team name. A routing rule may depend on tier, issue type, language and availability; it is a separate business decision. If a derived team assignment is required, document that rule and its authority instead of presenting the two fields as interchangeable.

Four fictional records with checkable outcomes

Record A: The existing destination has Medium priority, follow-up true and a date of November 6, 2026. The update includes urgency High but omits the other fields. Expected result: priority becomes High; follow-up remains true and the date remains November 6. Omitted fields are not cleared.

Record B: The source explicitly sends follow-up false under a schema that defines it as a boolean. Expected result: the destination flag becomes false. Whether the follow-up date should also clear is a separate documented rule; do not infer that relationship solely from the field names.

Record C: The source sends the reference ORD-1234567890123456789A to a destination limited to 20 characters. The value is 24 characters: four in ORD-, nineteen digits and the final A. Expected result: the association update is held with a length error. Removing the final characters could point to a different order, so neither truncation nor an arbitrary replacement key is acceptable.

Record D: The source sends urgency Critical and the date 03/04/2026 without a reliable date-format contract. Expected result: both fields require resolution. The owner can define the approved Critical routing and obtain an unambiguous date representation, then reprocess the specific held changes. A successful HTTP response is not sufficient evidence that this record was mapped correctly.

Separate create rules from update rules

On creation, the destination may require a priority or assigned group even when the source provides neither. Choose an explicit intake queue or default only when the business owner approves its meaning and agents can recognize the unresolved state. A default can keep work visible, but it can also distort reports or delay urgent requests. Record why the value was assigned.

On update, preserve destination-owned fields and protect against stale source revisions. An intentional clear can be a valid newer decision; a non-empty older value should not automatically replace it. Use supported version or conditional-write controls, or compare and hold conflicting changes through a controlled review process.

If a destination update partially succeeds, record the result per field or operation. Retrying the whole record may repeat a completed side effect. Keep the mapping version used for the attempt so a later rule change does not make the original outcome impossible to explain.

Test schema changes and recovery

Use fictional test fixtures covering valid input, false, zero, missing properties, explicit clears, long identifiers, renamed enums, unknown values, invalid dates and restricted fields. Include two tenants with equal native record IDs and confirm that the mapping stays in the intended scope.

Check both expected changes and expected non-changes. Test as a normal integration identity and an ordinary agent, not only as an administrator. Confirm that private metadata remains private in portals, notifications and exports. A field that looks hidden in one form may still be exposed elsewhere.

Review field definitions when owners change schemas and at an appropriate operational cadence. If the API exposes schema metadata, a comparison can detect drift; it does not replace ownership and release coordination. Hold affected values when a new option has no approved mapping, while allowing unaffected work to continue where safe.

For failed deliveries, respect the provider’s retry and rate-limit rules and keep a visible exception queue. Re-read authoritative current state when appropriate, but do not assume that current state recreates every missing historical transition. Reconcile the affected records before declaring recovery complete.

Approve the mapping as a business rule

Have field owners approve meaning, authority, create/update behavior and error handling. Retain the worksheet version, test outcomes and a rollback or correction plan. A mapping is ready when the team can explain what happens to every supported state and can recognize unsupported input without silently inventing a value.

Have a question or a correction?

Contact the editorial team