Once Parent Incident Status Changes, Child Ticket Status Should Change

SNOW46
Tera Contributor

Hi All,

There is one requirement came up like once the Parent Incident Status Changes, similarly Child Incident Status should also change as well.

Can anyone let me know how to configure this requirement.

 

 

Thanks..

6 REPLIES 6

1. Create After update business rule:

2. Condtion : State changes

3. Add above mentioned code:

var gr = new GlideRecord("incident");
gr.addQuery('parent', current.sys_id);
gr.query();
while(gr.next()) {
gr.state = current.state;
gr.update();

}

Please mark as Correct Answer/Helpful, if applicable.
Thanks!
Abhishek Gardade

 

Thank you,
Abhishek Gardade

venkatiyer1
Giga Guru

There is an OOB rule to update status child incidents - Update Child Incidents if the parent incident is connected to child incident via parent_incident column. It can change the child incidents to resolved and updated the comment and worknotes on child incidents.