最近搜索


没有最近搜索

Submit ticket via ZAF



已于 2022年10月25日 发布

Hello,

Is it possible to submit a ticket via ZAF methods (e.g. invoke)?

The use case would be to programmatically submit a ticket after calling `client.invoke('macro', ...)`, so that 1) a macro is applied to the ticket and 2) the ticket is submitted.

The reason `client.request` to update ticket API won't work as a workaround is because, during the update API call, the `AgentMacroReference` ticket audit event won't be created. It is created only when a macro is applied, and the submit ticket button is clicked manually by an agent.


0

2

2 条评论

image avatar

Tipene Hughes

Zendesk Developer Advocacy

Hey, Aliaksei!
 
I've just done some testing on my end and it appears that the 'AgentMacroReference" ticket audit event is created when you add the macro_id property to the body of your request when creating the comment via the ticket API. Can you try that out on your end and let me know if you're seeing the same behavior?
 
Let me know if you have any questions!
 
Tipene

1


Thanks Tipene, that works.

0


请先登录再写评论。

找不到所需的内容?

新建帖子