If I want to update a Service Request item.
with the following
@"
{
"priority" : 1,
"status" : 2
}
"@
But when I run my code I get this....
Invoke-RestMethod : {"description":"Validation failed","errors":[{"field":"type","message":"It should be one of these values: 'Incident'","code":"invalid_value"}]}
At
I don't want to update the "type" field because it is already set to
"type": "Service Request", if I change this to "type": "Incident",
It works but lose all information on the Item.
If I add "type": "Service Request" to the code it does not work....
Does someone know how to bypass the error.... Or another workaround?