Create New request using Python Script

Create New request using Python Script

Script to raise a new request using Python Script.

Pre-requisite

- Python should be installed in the server and configured. You can review the instructions here
- Requests module should be installed with the python

Steps

1. Download the zip file from the attachment and extract it under ManageEngine\ServiceDeskPlus-MSP\integration\custom_scripts 

2. Edit the script and update the URL and Technician key

3. You my create New Action under Admin -> Custom Triggers -> Execute Script. 



                    New to ADSelfService Plus?

                      • Related Articles

                      • How to create a new change request automatically from a request.

                        This script is applicable only for builds prior to 11138. This is a sample python script that triggers the creation of a Change Request in ServiceDesk Plus using the Change API.The request ID of the parent request is appended  to the subject line of ...
                      • How to update Request Additional fields during request create/update using Business Rules

                        This is a sample python script to update the Request Additional Field Values during request create/update based on certain criteria using Business Rules Execution Steps:  1. Download the attached zip 2. Move the files to ...
                      • Auto-create problem request based on certain criteria.

                        This is a sample script that triggers the creation of a Problem Request in ServiceDesk Plus using the Problem API.  Use Case:  ​ All incident requests with Priority = High will create a problem ticket with the request's default field values. ...
                      • Request add attachment_Python script-API

                        Steps for adding attachment to the request through python script-API. Extract the attached  "Attachment_Python_Script.zip" >> Edit attachmentscript.py >>Mention product installed url in the base url ; update the api key; update the request id that ...
                      • Python script to automate FCR

                        Please find the attached Python script on this link  to automate FCR via custom trigger when the request is created and resolved by the same technician. The link contains two Python scripts with the name FCR.py (this script can be used when MSP is ...