This python script is used to set the due by date in the request based on the value that is set in a date additional field.This is performed using apis for updating a request.
UseCase: Request due by time will be set based on Incident / Service catalog SLA configuration. At times you need to get when the request need to be completed from user rather than based on SLA.
Execution steps:
1. Download and copy the script file into the \Manageengine\ServiceDesk\integration\customscripts directory.
2. Update the application url , the technician api key in the configuration.json.
3. Update the additional api name in the script.
4. Configure the script under the Admin -> Request Custom Triggers,like shown below.
A short guide on setting up python is available
here.