LinkIncidentsButton
Incident action button script to link or unlink Incidents from an Incident.
python · Common Scripts
Source
import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 action = demisto.getArg("action") if action not in ["link", "unlink"]: action = "link" demisto.results( demisto.executeCommand("linkIncidents", {"linkedIncidentIDs": demisto.getArg("linkedIncidentIDs"), "action": action}) )
README
Incident action button script to link or unlink Incidents from an Incident
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | incident-action-button |
| Cortex XSOAR Version | 5.0.0 |
Inputs
| Argument Name | Description |
|---|---|
| linkedIncidentIDs | Incident ID to link to, or a comma separated list of related Incident IDs. |
| action | Action to perform - Link or Unlink Incidents |
Outputs
There are no outputs for this script.