Skip to main content

Closing all related child tickets

  • February 13, 2024
  • 1 reply
  • 92 views

Forum|alt.badge.img+7

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/[id]?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!

1 reply

LeeJonesMtSAC
Contributor
Forum|alt.badge.img+1

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