Get custom fields - Creating FSM Work Order from Ticket in Desk

Get custom fields - Creating FSM Work Order from Ticket in Desk

I have created a custom function to create a Work Order in FSM from a Ticket in Desk.
I would like to have some other specific information to come across from the Ticket and populate in the work order.
  1. Ticket ID (from Desk) to replace the Work Order Name (in FSM) when Work Order is created from custom function
    OR
  2. Ticket ID (from Desk) to populate a Single Line Field with label "Service Case No" (in FSM work order), if the above is not possible.

  3. Custom Multi-Line Field with label "Field Agent Instruction" (in Desk) to populate custom Multi Line Field with label "Notes" (in FSM Work Order).
Can you please assist by providing the necessary script to make this happen?
I have attached a copy of the script I am using.