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

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 Admin > Developer Space > 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 > Developer Space > Notification Custom Function > New > Paste the assign_technician.txt content and save it with a name
Update the global function count according to your instance.  In my instances, its global_function_4();

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?