Hello,
I am trying to create a service desk request from the API but i get the error and I can't find whats wrong. I tried much formats but nothing seems to work.
Error :
"Impossible to create a request due to these errors: The field with id "customfield_10808" named "Maintenance type" contains these errors: Specify a valid 'id' or 'name' element for Maintenance type, \nThe field with id "priority" named "Priority" contains these errors: Specify the Priority (id or name) in string format
The Json I send :
{
"requestFieldValues": {
"summary": "test",
"customfield_10808": "{\"name\":\"Minor repair\"}",
"customfield_10809": "{\"name\":\"Bureau stagiaires\"}",
"description": "test",
"priority": "{\"name\":\"Bloqueur\"}"
},
"requestTypeId": "248",
"serviceDeskId": "22"
}
I also tried with the id but same result.
Endpoint is /rest/servicedeskapi/request.
Thanks