Please find the attached Python script on this
link to automate FCR via custom trigger
when the request is created and resolved by the same technician.
The link contains two Python scripts with the name FCR.py (this script can be used when MSP is installed on a directory that doesn't have space)and FCR (1).py (this script to be used if the MSP directory has a space like Program Files\ManageEngine\ServiceDeskPlus.)
The respective script should be renamed as FCR.py and be placed under Program Files\ManageEngine\ServiceDeskPlus-msp\integration\custom_scripts.
The URL of the MSP server and API key has to be updated in FCR.py file
Please do create a Custom Trigger for the same, based on the requirement with execute script as py FCR.py $COMPLETE_V3_JSON_FILE