Merge Similar Requests

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 same.  If another employee notices the same issue and reports it again, we will have to merge these two tickets.

For retrieving a similar request, we can use either search_criteria or search_condition. The only difference is that we can search for exact keywork with search_condition.
Using search_criteria, we can retrieve all requests that contain the search text. 

Steps to configure:
1.  Download the attached scripts.  Copy the contents into Request custom functions.

2.  Goto Admin >> Change Custom Function >> Global Function >> New >> Paste the global function contents and save it with a name.

>>Update the URL and integration/technician key in the script. 
You can get the integration key under Admin >> Integration Key >> New
Please use an integration key with admin privilege, as there wont be any role related permission issues. 



3.  Goto Admin >> Request Custom Function >> Custom Function >> New >> Paste the mergingSimilarRequest.txt content and save it with a name and Update the global function count according to your instance.


4.  Configure a custom trigger to get invoked for every request being created.


Note: Both search_criteria sample and search_condition samples are attached.

                  New to ADSelfService Plus?

                    • Related Articles

                    • 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 ...
                    • Auto-Merge Similar Tickets & Auto-Close Based on Keyword

                      Objective: Implement an automated mechanism in the ServiceDesk Plus to improve ticket management efficiency by: Automatically merging similar requests that share the same subject. Automatically closing tickets when the subject contains the keyword ...
                    • Auto merge & Auto close alerting tool tickets

                      In large IT environments, alerting tools like Dynatrace, SolarWinds, OpManager etc play a critical role in proactively detecting issues. But when each alert ends up creating a new ticket in ServiceDesk Plus (SDP), your help desk can quickly get ...
                    • Notification script using Custom function in custom trigger

                      This is applicable from 10600 builds. From 10600 , Business rules dont have Email notification feature. The same use case be achieved through Custom triggers feature as mentioned below. Script to enable notification of request creation using custom ...
                    • Risk Matrix for Change using Custom Module

                      Overview: A risk matrix helps in identifying risks based on how likely they are to happen and how serious their impact could be. This makes it easier to decide which risks need urgent attention and which ones can be watched over time. It helps manage ...