[OTRS 8.0.x isn't out yet, how do you have access to it? ([OTRS 8.0.x尚未发布,您如何访问它?) If nothing much changed,; (如果没有太大变化,) resolved by edit ] (通过编辑解决 ])
you can take a look at the TicketUpdate operation. (您可以看一下TicketUpdate操作。) In the file is a description on what you must and what you can provide. (文件中有关于您必须提供和可以提供的内容的描述。) with this you can update the ticket state via REST (这样,您可以通过REST更新故障单状态)
here is an example call for the rest interface to change the state of the ticket. (这是调用rest接口更改票证状态的示例。)
curl "http://localhost/otrs/nph-genericinterface.pl/Webservice/WebServiceName/RoutingOfTheOperation?UserLogin=admin&Password=1234&TicketID=1" -H "Content-Type: application/json" -d '{"Ticket":{"State":"closed"}}' -X POST
If it doesn't help, just ask. (如果没有帮助,请询问。)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…