Custom Scripts
Automatically Assign Users to Change Roles Using a CSV File in Change Requests
When organizations scale, managing dynamic approval assignments for hundreds of Category-Subcategory-Item (CSI) combinations becomes cumbersome to maintain manually in code. This solution allows you to store role assignments in a CSV file and ...
Automatically Assign Users to Roles Based on Category, Subcategory, and Item in Change Requests
How to Automatically Assign Users to Roles Based on Category, Subcategory, and Item in Change Requests Purpose In enterprise environments, change approval requirements vary depending on the type and impact of the change. Typically, organizations ...
Calculate Risk Score based on a custom questionnaire
UseCase: Risk score has to be set based on the response for a custom questionnaire populated in a form. Note: The form is adaptable based on specific needs, this version serves as a sample questionnaire with predefined risk values defined within the ...
FAFR to set priority based on other change fields
Requirement: Set priority based on 3 change fields. i.e Change Additional field - "Coverage", "Impact" and "Urgency". Steps to configure: 1. Goto Admin > Change Templates > Field and Form Rules > On Field Change: Urgency. 2. Set Conditions as: ...
How to close associated incident requests of change request automatically
This post describes the use of a python script to close change that are in a specific stage using Custom Schedules. Use Case: There may be a scenario where number of Change Requests that have got closed and the associated incident is still in open ...
Close change requests using custom schedules.
This post describes the use of a python script to close change that are in a specific stage using Custom Schedules. Use Case: There may be a scenario where number of old Change Requests that have gotten lost in the shuffle over the years. Most of ...
How to create a change automatically based on a schedule
This is a sample python script that triggers the creation of a Change Request in ServiceDesk Plus using the Change API based on a schedule Note: Attached script will not work beyond 11138 SDP Version. A short guide on setting up python is ...
Set the line manager of a change based on the change requesters or the implementers reporting-to.
Note: Attached script will not work beyond 11138 SDP Version. We can use custom schedule to achieve this requirement. Step 1: we have to run the below query in query report and save the report. select userid,reportingto from sduser where ...
How to automatically create a project and associate it to a change using change custom triggers.
This script is applicable only for builds prior to 11138. This post describes the use of a sample python script you to create a Project automatically from a Change request and create a association between them.This script can be configured under ...
How to automatically create multiple tasks in a change request with a configurable JSON file.
Note: Attached script will not work beyond 11138 SDP Version. This is a sample Python script to automatically create multiple tasks within a change request with a configurable JSON file. This is achieved using an API call to create a task in ...
How to automatically create a task in a Change Request.
This is a sample script to create a task in a Change Request based on the values given in certain fields. This is done by using an API call to create a task in ServiceDesk Plus. The task can also be created in a request, problem, project or a ...
How to automatically assign users to different roles in a change request.
This script is applicable only for builds prior to 11138. This is a sample python script to read the value in the Change Owner field, when a Change Request is created and set him/her as the Change Implementer automatically, using Change Custom ...
How to assign CAB members to a change request automatically.
Note: Attached script will not work beyond 11138 SDP Version. This is a sample script to add CAB Members to a Change Request through Change Custom Triggers.The CAB Members can only be added manually to the Change Request ,under the Approval Tab, ...