Script to Auto merge requests with exact same subject

Script to Auto merge requests with exact same subject

Use case:  Too many alerts for the same reason from a machine keeps generating multiple tickets in SDP MSP.  You can use the below script to auto-merge the requests in the application. The Merged tickets description will be added as a note to the parent ticket in SDP MSP using the script.

Steps to follow :

1. Download the zip file attached and unzip it.
2. Copy and paste the files present in it under ManageEngine\ServiceDesk Plus MSP\integrations\Custom_scripts.
3. Create a Business rule under Admin for the respective account/site as in the attachment (refer to Business rule configuration.png file)
4. In the configuration.json file, please update the right URL (using which you will connect the SDP MSP instances) and technician key. Generate the technicianKey for administrator and provide it. You can create technicianKey from Top right of the product user interface -> API key generation.



NOTE:
1. Python has to be installed on the MSP server along with the Requests library. Please refer below link for reference.
2. Description is mandatory in the duplicate request. Description content will be added as notes in the parent ticket.
3.Tested and working fine in latest(14303 build)



                  New to ADSelfService Plus?

                    • Related Articles

                    • Script: Auto merge tickets of similar subject and auto closes the ticket--> Used V1 API dont use

                      Use case:   Too many alerts for the same reason from a machine keeps generating multiple tickets in SDP MSP.  You can use the below script to auto-merge the requests and auto close the ticket. What does this script do ? The Merged tickets description ...
                    • Merge Similar Requests

                      Requirement: In an organization, multiple requests being created for the same issue. So we will have to merge all the similar requests. UseCase: Assume there is a printer issue in an organization, and a request has already been registered for the ...
                    • Script for the value in the Subject of the ticket to be auto filled in an Request additional of the ticket created.

                      Applicable for versions above 11.0 1. Download all the contents in the attachment and paste it under \ManageEngine\Supportcentre\integrations\Custom Scripts. 2. Create an additional field and copy the API Field Name and edit the same in the Script ...
                    • 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. ...
                    • Merge Similar Requests

                      Requirement: In an organization, multiple requests being created for the same issue.  So we will have to merge all the similar requests. UseCase: Assume there is a printer issue in an organization, and a request has already been registered for the ...