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 ADSelfService Plus?

                    • Related Articles

                    • Update status using Python script in 11.0

                      Using a Python script via custom trigger, we can update the status invoking an API call. A short guide on setting up python is available here : https://pitstop.manageengine.com/portal/kb/articles/how-to-setup-python-on-the-server Find the attached ...
                    • 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 ...
                    • How to update a request based on certain values.

                      This post describes the use of a python script to update requests based on values given in the request_properties.json file. This action can be performed using Custom Triggers. UseCase:  We have a Service template for account lockout/password reset. ...
                    • 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 ...
                    • 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 ...