What do we know?
a CUSTOMER can resolve a ticket (see pic below) w/o filling the needed fields that an agent needs to fill, so, there is an (internal) API to do so.

What do we need?
A solution to update ticket custom fields EVEN if some custom fields do not exist/are filled.
(Usually, this will take place when the ticket is in SOLVED status)