Change Management REST API sets incorrect value when updating choice fields for Change TaskDescriptionThe Change Management REST API (PATCH method API: /api/sn_chg_rest/v1/change) sets a wrong value when updating choice fields, and does not create change tasks. Updating change_task_type in table change_task fails. Steps to Reproduce 1) Go to REST API Explorer. 2) Setup form: Namespace = sn_chg_restAPI Name = Change ManagementAPI version = latestChoose Task (PATCH)change_sys_id = e9db6ac31b6bd0105037fa05464bcb62task_sys_id = 5d6cee071b6bd0105037fa05464bcb98Request Body:change_task_type = Planning 3) Execute 200 OK. No error is logged, but the Type in the target record stays undefined.WorkaroundAdd the following to the script include: ChangeTask resolveChoice: ChangeCommon.methods.resolveChoice, resolveReference: ChangeCommon.methods.resolveReference, isReferenceField: ChangeCommon.methods.isReferenceField, Modify script include: ChangeCommon From: // Case insensitive matching of choice value for (var j = 0; j < fieldChoices.getSize(); j++) if ((fieldChoices.getChoice(j).getValue() + "").toUpperCase() === value.toUpperCase()) return value; To: // Case insensitive matching of choice value for (var j = 0; j < fieldChoices.getSize(); j++) if ((fieldChoices.getChoice(j).getValue() + "").toUpperCase() === value.toUpperCase()) return fieldChoices.getChoice(j).getValue(); Related Problem: PRB1438749