Python script to update request status

Python script to update request status

This article consists of a python script to update the request status based on a criteria set in Custom trigger.

For installation and setup of PYTHON, please refer the below link,


Script is attached, place the script and supporting files from the attached in the ME server under the location \ManageEngine\ServicedeskPlus MSP\integration\custom_scripts. Configure the configuration.json file with proper URL and technician key. In the application, configure the Custom trigger as per your requirement. Sample config is shown below,


                New to ADManager Plus?

                  New to ADSelfService Plus?

                    • Related Articles

                    • Create New request using Python Script

                      Script to raise a new request using Python Script. Pre-requisite - Python should be installed in the server and configured. You can review the instructions here - Requests module should be installed with the python Steps 1. Download the zip file from ...
                    • Request add attachment_Python script-API

                      Steps for adding attachment to the request through python script-API. Extract the attached  "Attachment_Python_Script.zip" >> Edit attachmentscript.py >>Mention product installed url in the base url ; update the api key; update the request id that ...
                    • Script to update Request with another Group when the request is approved

                      Use case:   Assume a requester is requesting for an gadget asset and it requires approval from their managers.  This ticket needs to be moved to "Asset" group only when the ticket gets approved. Pre-requisite - Python should be installed in the ...
                    • Python script to automate FCR

                      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 ...
                    • Update Requester from Request Description

                      Use case: When a request is submitted on behalf of a user via email, the request description contains the requester's full name. Script to update the ticket requester accordingly. Tested on builds: 14306,14500. Steps to follow: Go to Admin > Request ...