How to close linked requests when a parent request is closed.
This post describes the use of a python script to close all the linked request when a parent request is closed using custom triggers.
Use Case:
We get tickets which are getting reported for the same issue but different end-users so that once we Resolve/Close the parent ticket all tickets linked will also get Resolved/Closed automatically in ServiceDesk Plus and we don’t have to Resolve/Close each linked tickets manually one by one.
For example, we have 10 tickets in total so the first reported ticket we will keep it as Parent ticket and rest all 9 tickets as the Linked ticket.
Now Once we Resolve/Close the first Parent ticket all 9 Linked tickets also get Resolved/Closed automatically in ServiceDesk Plus.
Execution steps:
1. Download and copy the script file into the \Manageengine\ServiceDesk\integration\custom_scripts directory.
2. Update the application URL, the technician API key in the configuration.json.
3. 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?