Skip to main content
Skip table of contents

Update Owner ID and Site ID with JSON Object

LAST UPDATED: AUG 23, 2024

Updates an incident's Owner ID and Site ID with values provided in the input JSON object.

READER NOTE

  • This command is only applicable within an Incident Playbook.

  • The site of an incident cannot be updated if it is of the Client type.

Implementation

System

Command Category

System Utility

Tags

INCIDENT INCIDENT FIELDS

Inputs

Parameter Name

Required/Optional

Description

Sample Data

Input

Optional

The JSON object that includes the owner's ID and the site's ID.

These IDs can be found in Configuration > Organization Management > Users / Sites

CODE
{

    "assignee_id": 1,

    "assignee_site_id": 95

}

Output

Return Data

The returned result of this command. If some required parameters are not defined, this returned data could be empty. The returned result can be passed down directly to a subsequent command in playbooks.

SAMPLE DATA

JSON
Succeed
Context Data

The response data from the utility command.

SAMPLE DATA

JSON
{
    "incidentNumber": "20200529-114",
    "owner": "admin,user",
    "siteName": "APSOC",
    "result": "Succeed",
    "changedBy": "admin, user"
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.