在我的网站上,我有一个联系表单,在提交时会创建一个新的服务台票证。它进行了以下休息api调用:
https://jira-housters.atlassian.net/rest/servicedeskapi/request(带有相应的接受和授权请求标头)
{
"serviceDeskId": "1",
"requestTypeId": "1",
"requestFieldValues": {
"summary": "Housters Contact from Justin Test (Web)",
"description": "test message"
},
"raiseOnBehalfOf": "myemail@mydomain.com"
}
在此之前完全没问题,但是几天前它开始出错了:
{"errorMessage":"Your request could not be created. Please check the fields have been correctly filled in. Please provide a valid value for field 'Raise this request on behalf of'","i18nErrorMessage":{"i18nKey":"sd.validation.request.creation.failure.required.field","parameters":["Please provide a valid value for field 'Raise this request on behalf of'"]}}
这没有任何意义,因为当我明确指出时,它代表字段抱怨提出请求。是什么给了什么?