Pushing comments to children from parent incident

moogfdw's picture

Using Automation rules, is anyone familiar with the steps to create a rule that will push your resolution (comments) from the parent incident to its children?

This is what I have so far

Push Comment to Children

Comment: When a parent incident is created and is about to be closed, push the comments to all children

Log to incident: No

Status: Inactive (for now)

Is terminal: No

When: Every time incident is saved

And: When ALL of these are TRUE
"Parent incident number" is not equal to "0"

Invoke these URLs:

Name: Test URL pushing comment to children incident when comment changes in parent incident.

URL: http://myservername/WebService.asmx/ProcessWorkItem

URL parameters: id WORKITEM(workitem_number)
process_children yes
workitem_comment workitem_comment Comment from Parent: Incident #WORKITEM(workitem_number) - WORKITEM(workitem_comment)

Send parameters using: POST

Credentials: Impersonate the worker

Save response: No

Process response: ProcessResponse script will not be called if not logging to incident

bkaulins's picture

Inherit Status and comment

Inherit Status and comment from Parent

Comment: This incident rule will set the status and comment to match the parent item's status if they do not match. It works with the "Push Status to Children" automation rule and uses the "Inherit Status" parent link type to determine what to do.

Set these properties: Set "Status" to "PARENTITEM(workitem_status_lookup_id)"
Set "Comment" to "PARENTITEM(workitem_comment) "

When: Every time incident is saved

And: When ALL of these are TRUE
"Parent link type" is equal to "Inherit Status"
"Status" is not equal to "PARENTITEM(workitem_status_lookup_id)"

Status: Active

Is terminal: Yes