Using the Request Custom Menu, you can customize the Actions menu of the Requests page with the use of your own script. You can create different action menus and associate custom classes or script files with the menus to execute the relevant actions. The menus created here will get listed under the Actions menu on the Requests Details page.
The following topics are discussed in this document:
Click the Admin tab in the header pane.
Click Request Custom Menu under the Helpdesk Customizer block. The Request Custom Menu List View page is shown. From here, you will be able to add, edit, enable/disable and delete the custom menus.
To add a new request custom menu, click Add New Menu at the right corner of the Request Custom Menu List View.
The New Menu form is shown.

Basic Details:

Select Roles: Select the required roles by typing the role (e.g., SDAdmin, SDGuest, etc.,) name in the available textbox, as shown below:
All Roles: Simply choose this option.
Description: Describe the menu indicating its purpose.

To perform an action, it is necessary to have a HTML file, or a Script file, or a Class file, in the specified location for the action implementation. You can perform the below actions:
To load a Custom HTML file when menu is invoked, you need to place that file in the [SDP_Home]/Integration/resources/ directory. Only the files with htt/htx/htm/html/htmls extensions are supported for invocation. Also, dependency files like, JavaScript and CSS have to be placed in the same location.
Example: Create_Jira_Ticket.html
Action Type - Execute Script:
You can also pass arguments for Custom Script/Class. All API parameters are supported as arguments.
Examples:
For Script: cmd / c Index.bat
For Class: com.servicedeskplus.integration.JiraActionImplementation
Other Parameters Supported:
$COMPLETE_V3_JSON_FILE ---> Complete Request Object will be saved to a JSON file and the file path will be passed as String Object.
JSON File Path:
(SDP_Homeintegrationcustom_scriptsrequest12_1426143538036.json)$HTML_DATA_JSON_FILE ---> Ajax call request "data" parameter will be saved to a JSON file along with menu name, request json and xml file path, and the file path will be passed as String Object. Used with Custom Html File.
Example: (SDP_Homeintegrationcustom_scriptsrequest12_1426143538036.json)$HANDSHAKE_KEY ---> Handshake key will be passed as String Object.
Click Save.
Now, the menu is created and can be viewed under the Actions menu in Requests Details page.
You can access this option, while adding a new menu. You can do the following from here:
Enabling/Disabling a Menu:
Click the
icon beside a menu to disable it.
Click the
icon beside a menu to enable it.
Editing a Menu:
From the Request Custom Menu List View, click the Edit
icon beside the menu you wish to edit.
Modify the required details.
Click Save to save the changes performed.
Deleting a Menu:
From the Request Custom Menu List View, click the Delete
icon beside the menu you wish to delete. A confirmation window pops up.
Click OK to proceed with the deletion. The menu is removed from the list.
If you do not want to delete the menu, then click Cancel.