Change request custom trigger

Change request custom trigger

Hi,

I'm working on a change request custom trigger that will send some of the change request details to a Teams Channel. I want to include the change requesters name in this but i cannot find this variable at all when reading the json file. Has anyone had the same issue or does anyone know what i may be doing wrong?

Here is part of the code up to where i cannot find what i'm looking for:

param (
    [string]$json = "none"
)
$dir = "*our server*\Program Files\ManageEngine\ServiceDesk\integration\custom_scripts\change"
$file = Get-ChildItem $dir |select -first 1 | select -ExpandProperty Name

$jsondata = Get-Content "$dir\$file" -Encoding UTF8
$data = ConvertFrom-Json $jsondata

# Change data
$change_id = $data.INPUT_DATA.entity_data.id
$change_title = $data.INPUT_DATA.entity_data.title
$change_created = $data.INPUT_DATA.entity_data.created_on
$change_scheduled_start = $data.INPUT_DATA.entity_data.scheduled_start_on
$change_scheduled_end = $data.INPUT_DATA.entity_data.scheduled_end_on
$change_requester = $data.INPUT_DATA.entity_data. 

the last line above i cannot find anywhere a variable relating to the requester name.

                  New to ADSelfService Plus?