If the technician replies to the unassigned request, the ticket should be assigned to him.

If the technician replies to the unassigned request, the ticket should be assigned to him.

Requirement:
When technician responds to an unassigned request, the unassigned ticket is assigned to the technician who responded.

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

2.  Goto Admin > Request 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. 
  1. For builds over 11300, you can get the integration key under Admin > Integrations > Integration Key > New
  2. Please use an integration key with admin privilege, as there wont be any role related permission issues. 

  3. For builds prior to 11300, refer https://help.servicedeskplus.com/api/rest-api.html$key and update the technician key.

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


4.  Configure this in a custom trigger to get invoked every time a reply is received on a request. (Invoking Condition can be modified as per your requirement.)



                    New to ADSelfService Plus?

                      • Related Articles

                      • Assign technician if they responds to an unassigned ticket - Notification Custom Function

                        Requirement: When a technician addresses an unassigned request, the corresponding ticket is automatically assigned to that technician. Steps to configure: 1. Download the attached scripts. Copy the contents into Notification custom functions. 2. Goto ...
                      • Request First Assigned time

                        First Assigned Time is the number of minutes, hours, or days between when a customer submits a support ticket and when was a support representative assigned to the Request. It indicates how long it is in an unassigned state.  To make any changes to a ...
                      • Add notes when a technician is assigned

                        Requirement: Automatically add note in the ticket and consider it as a first response when a ticket is initially assigned to a technician. Steps to configure: Goto Admin > Developer Space > Request Custom Functions > Global function > New > Paste the ...
                      • Request violated by technician

                        This report used to find the technician who violated the request. If the request/incident already has a violation and is reassigned to another technician the new technician assumes the violation instead of the technician that the violation occurred.  ...
                      • How to Automatically Associate a Ticket to a Project using PrjID based on Ticket Template

                        This post describes the use of a sample python script you to associate a Project automatically to a ticket during its creation/edit based on conditions, such as template matching. This script can be configured under Custom Triggers and you will find ...