最近搜索


没有最近搜索

How do I trigger the save event in an App



已于 2022年1月10日 发布

I am writing a custom app and want to save the data afterward in the ticket.

How do I trigger the save event aka the "submit as <status>" event from within the app?


0

3

3 条评论

image avatar

Eric Nelson

Zendesk Developer Advocacy

Hi Daniel,

You'd want to use the update ticket endpoint utilizing the client.request method offered by ZAF.

Hope this helps!

0


hi Eric Nelson , how about if I made changes to the ticket, for example, using 

zafclient.invoke('ticket.tags.add', "cit");

 

In this case the ticket will be ready to submit the changes by the user, but I'd like to do it for the user.

Is this possible to do using a zaf client invoke (or any other method really), instead of making an update request via api?

 

Also, what happens if the user is writting a comment and we update the ticket via the API?

0


image avatar

Tipene Hughes

Zendesk Developer Advocacy

Hey David,

The ZAF API doesn’t currently have methods or actions that facilitate submitting ticket changes. For example, while you can update the ticket status via ZAF ticket properties, this change still needs to be submitted in the UI. Your best bet will be using the client.request method as Eric mentioned above. Updates made via the API won’t effect any ongoing comments in the ticket editor, you’ll just see the specified changes reflected in the UI.

I hope this helps!

Tipene

0


请先登录再写评论。

找不到所需的内容?

新建帖子