Script to Auto share request

Script to Auto share request

1. Download MSP_share_Request.zip from the attachment, extract it, and paste the same under ManageEngine\ServiceDesk Plus MSP\integrations\Custom_scripts.
   
     # auto_share_MSP.py
     # functions.py
     # configuration.json

2. Edit auto_share_MSP.py, make the below marked changes. You  



You can get the additional field value under Admin >> Incident - Additional Fields >> API Field Name



3. Edit configuration.json and fill URL and Technician Key.

If you already have the configuration.json given by us, you can skip this step.

4. Configure the Custom Trigger as shared in the screenshot (above link) and modify the criteria as per your requirement.

5. You can find the script error/success message in the history tab of the request. 

Note: A short guide on setting up python is available here.

Note: If you would like to AutoShare requests only with requesters and not with the technician, please use the python file from auto_share_MSP (Only Requester).zip attached to the document. 

                  New to ADSelfService Plus?

                    • Related Articles

                    • How to auto share request to users specified in a request field (V3)

                      Note: ServiceDesk Plus build should be  11.0 and above This post described the use of a python script to share requests to users specified in a request field. This script can be configured under Request custom triggers and you will find more ...
                    • Script to AutoShare Request to Groups

                      Please follow the below link to setup python on the server ​ https://pitstop.manageengine.com/portal/en/kb/articles/how-to-setup-python-on-the-server-11-11-2019 Steps to configure 1.  Extract the attached zip file in <Home>/integration/custom_scripts ...
                    • Script to Auto close Request when the status is Resolved for a particular number of days

                      For version 11 and above: -> In version 11, we only have the option to set the request Auto-close for a max of 10 days -> The below script will help you to extend the auto-closure time Execution steps: 1. Go to Reports--> New Query Report and run the ...
                    • How to Auto Share Request Upon Creation to All/Selected Technicians

                      NOTE:  This script is supported only for builds below 11.3 This post describes the use of a python script to share requests to technicians specified in a list variable in the script, which can be generated from an SQL query. This script can be ...
                    • 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, ...