I need to update a parent ticket status once the child ticket is set to resolved. I cannot figure out how to do that in the workflow. Any ideas?
I need to update a parent ticket status once the child ticket is set to resolved. I cannot figure out how to do that in the workflow. Any ideas?
There are a app that sync child to parent.
If you like to build it your self you need to do it using API.
You need to 2 web request nodes, one to get the parent ticket and the second to update the parent ticket.
/api/v2/tickets/cid]?include=related_tickets
With that you get the parent ticket ID, then https://api.freshservice.com/v2/#update_ticket_priority to update the ticket.
You need a separate workflow for the child ticket. To skip one web requests in that you could add the parent ticket number in a custom field.
You need a separate workflow for the child ticket. To skip one web requests in that you could add the parent ticket number in a custom field.
I did open a ticket with Support to get their help as well.
Hello,
I am trying to do similar things;
I want if the parent status is change to update child ticket with the same status,
I can see in automation an event “if status is changed from “ i put Any to Anye;
i added an action on child tickets but i am not able to get the parent status to make the update.
Any help is appreciated
I would be happy to jump on a call with you to talk through it if that is helpful.
Shannon
One thing to hit on - I know that you ended up going the API route, but
One option is closing the parent ticket automatically when all of the child tickets are closed. While I have it disabled, it is an option that I tested and it works as advertised.
If you want to check out the app, you can find it here: https://YourFreshServiceURL/a/admin/marketplace/gallery?route=app&id=12097
** Make sure to replace YourFreshServiceURL **
I found a way you don’t need the first webrequest to get the parent ticket ID.
Don’t know if this is a but but you can use {{ticket.predecessor_ticket.id_numeric}} to get the parent ticket ID.
You can get most fields from the parent ticket by adding “ticket.predecessor_” to the placeholder.
Like this
Current ticket
{{ticket.agent.name}}
Parent ticket
{{ticket.predecessor_ticket.agent.name}}
But you still need to use API/webrequest to update the parent ticket.
Reply
Join the Community
Sign in to the Community
Social Login
Login for Freshworks Employees Login with LinkedInEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.