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