cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Who rated this post

If I understand correctly, the following may help:

 

1. Create a new field that will be used as the selection drop down for the user and give it  some default values:

ABurt_0-1614416019988.png

 

2. Create a new automation script (yes automations = scripts and scripts = automations) and ensure it has the "field-display" tag:

ABurt_2-1614416457373.png

In the above script, the returned list options assumes that the field named "monitored_field" is available in the incident and that it is a list. It will also only display options for the field if it is part of an existing incident and not in the "create / new" incident form.

 

3. Assign the field-display script to the field:

ABurt_3-1614416530414.png

 

4. Create a new "field-change-triggered" script and make sure to assign the "field-change-triggered" tag:

ABurt_4-1614416722532.png

In the above script, if the selection has changed then the script runs the playbook again by simply setting the playbook. When setting with no parameters, it re-runs the existing playbook on the existing incident.

 

5.  Edit the field again and this time assign the field change parameters:

ABurt_5-1614416854330.png

 

 

This means that each incident will have a field (that you can place in the incident layout) that will contain dynamic content based on the incident fields, lists or context and when changed will execute a command (in this case the playbook re-run).

 

A small demo:

 

 

In your use case, the field-display script would pull a list of parent incidents. The field-change script would then re-assign the current incident to that parent incident.

 

I hope this helps.

 

Regards

 

Adam

View solution in original post

Who rated this post