Hello,
Unfortunately, there is no possibility to map the actions. If the ticketID is saved to a user property, you can obtain the ID using a script like below.
$propertyName = "description" # TODO: modify me
$targetObject = $Context.TargetObject.TargetObject
try
{
$propertyValue = $targetObject.Get($propertyName)
}
catch
{
$Context.LogMessage("Property $propertyName is empty.", "Information")
return
}