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?

        Resources

            • Related Articles

            • 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 ...
            • 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 ...
            • 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, ...
            • 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 ...
            • 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 ...