Script: Close associated changes when a request is closed

Script: Close associated changes when a request is closed

Use case: 

In many cases, the client never comes back to confirm the change. This means that the change remains opened indefinitely.
When the ticket is closed it is logical that the change to be closed. No one is going to close a ticket unless the changes have been made.

Steps:

1.Download the contents and paste it under \ManageEngine\ServiceDeskPlus MSP\integrations\Custom_scripts.
2. Configure custom trigger as in the attached screenshot.
3. In the configuration.json, configure the URL of the application and a technician key of the one who has the role SDAdmin and SDChangeManager.

Note: If any mandatory fields change will not be closed, hence ensure there are none configured in Admin->Change Closure Rules.

To setup python in the MSP server, please refer this link.


                  New to ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • Risk Matrix for Change using Custom Module

                        PURPOSE: Creating Risk matrix for changes that automatically calculates the risk of a change based on its priority and impact. Similar to the Priority matrix in the request module. TESTED IN BUILDS: 14504 STEPS: Step 1: Configure the Custom Module: ...
                      • Close the request upon adding a note.

                        Kindly follow the steps mentioned below: 1) Go to Admin >> Developer Space >> Custom Function >> Global Functions >> Copy & Paste the attached GF_Content.txt and save it with a name. Update the URL and technician key as per your instance. Refer to ...
                      • Script to bulk close change using deluge script based on the status

                        The following script will help you bulk close changes based on the status of change using custom schedules 1. Go to Reports tab --> New query report --> copy the query to the query editor and run the report. Save the report in the folder. The query ...
                      • Script to automatically populate the "Line Manager" role based on the Change Requester

                        "When a Change Request is created, the Line Manager role will automatically be assigned to the user specified in the 'Reporting to' field of the particular Change Requester. Tested in builds: 14300 and 14303. Download the scripts attached. Global ...
                      • Script to Auto close Request when the status is set to Resolved

                        This post describes the use of a python script to close requests that are set in Resolved status using Custom Schedules What is 'Custom Schedules' ? The Custom Schedules feature enables you to access any data in ServiceDesk Plus to perform customized ...