zoho.crm.convertLead does not save custom fields data on Deal

zoho.crm.convertLead does not save custom fields data on Deal

  1. dealMap = Map();
  2. dealMap.put("Deal_Name", lead.get("Company"))
  3. dealMap.put("My_Custom_Field",ifnull(lead.get("My_Custom_Field"),""));

  4. convert = zoho.crm.convertLead(leadId, {"Deals":dealMap});

I would expect the above code to copy My_Custom_Field (or any other custom field) from Lead to the Deal but it does not. I have resorted to writing extra code to look up the new Deal, and rewrite dealMap to it but this is two extra database calls that could be avoided. Please add the ability for zoho.crm.convertLead to write the custom fields provided in dealMap.