How to auto share requests to groups specified in the request tasks.

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 can be also configured on 'Request custom menu' so that the action can be invoked when it is required.You can find more information about this feature in the link available here.

Use Case: There may be a scenario where multiple parties like testers and developers might be involved in a request fulfillment. For that, the progress of the request has to be constantly monitored by them. However, they cannot be given full privileges to access all requests associated with a site/group/department. This script will automatically share the request to the groups assigned to Tasks associated with the request.


Execution steps:

1. Download and copy the script file into the \Manageengine\ServiceDesk\integration\customscripts directory.
2. Update the application url , the technician api key in the configuration.json.
3. Update the additional api name in the script.
4. Configure the script under the  Admin  ->  Request Custom Triggers,like shown below.




A short guide on setting up python is available here.

                  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 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 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 ...
                    • How to auto-create worklog based on values specified in the request

                      This post will to help you create a worklog automatically when a request is created. This script can be configured under Request custom triggers and you will find more information about this here. This is achieved using an API call to create a ...
                    • How to populate request details on associated tasks.

                      This sample script is used to update request field values into tasks associated with request templates The Request details are stored as a JSON Object in a file and its path is provided as input to the Script. This can be used in the application ...