Script to AutoShare Request to Groups

Script to AutoShare Request to Groups

Please follow the below link to setup python on the server


Steps to configure

1.  Extract the attached zip file in <Home>/integration/custom_scripts
2.  Update configuration.json with your instance details
3.  Reports> New Query Report > Execute select * from queuedefinition and get the ids of the groups to be shared with.
4.  Modify the ids in the script file.

5.  Under Admin >> Custom Trigger, create a trigger to get executed when a request is created and assigned to a particular group.
6.  Action > Execute Script:  py setsharerequest_sameGroup.py $COMPLETE_V3_JSON_FILE



                  New to ADSelfService Plus?

                    • Related Articles

                    • 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. ...
                    • How to auto share requests to groups specified in the request tasks.

                      This post described the use of a python script to share requests to groups specified in the tasks that are associated with a request.This script can be configured under Request custom triggers and you will find more information about this here. This ...
                    • 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 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 ...
                    • 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 ...