commonfields: id: MarkRelatedIncidents version: -1 name: MarkRelatedIncidents script: '' type: javascript tags: - Utility comment: |- Marks given incidents as related to current incident. This automation runs using the default Limited User role, unless you explicitly change the permissions. For more information, see the section about permissions here: - For Cortex XSOAR 6 see https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.x/Cortex-XSOAR-Playbook-Design-Guide/Automations - For Cortex XSOAR 8 Cloud see https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/8/Cortex-XSOAR-Cloud-Documentation/Create-a-script - For Cortex XSOAR 8.7 On-prem see https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/8.7/Cortex-XSOAR-On-prem-Documentation/Create-a-script enabled: true system: true args: - name: related required: true default: true description: The list of related incident IDs we want to mark. isArray: true scripttarget: 0 tests: - No tests (auto formatted) fromversion: 5.0.0 marketplaces: - xsoar