Skip to main content

Hello :)

 

I have a case where I want to close all the related child tickets at once from the btn inside a parent Ticket.

What is the best way?

 

I have started testing with API to get all the childs: /api/v2/tickets/tid]?include=related_tickets

But then, there is a big problem with iterating over the array of the IDs of the childs.

If I have 20s childs, I am not sure how can update all of them?

There is no For loop or simar to do the same action many times, or I cannot create my own function…

 

Any thoughts, will be very thankful!

In Workflow Automator, you could use the ACTION function, change the “perform on” to “Associated Child Tickets” and change whatever. Does that make sense?