Using Slash Command in Slack
This section describes the procedure on how to use Slash Command in Slack and integrate with IBM Control Desk.
About this task
As a Slack users, you can give Slash command in Slack application to do the following. Slash
Commands is given in your Slack application by typing a command (string) into the message composer
box. For more details, see Slash command.
- You can search solutions in the ICD solutions database
- You can search for tickets in the ICD based on search text
- You can update ticket details to the ICD tickets
Procedure
What to do next
For update command, follow below steps and configure Interactivity & Shortcuts to
enable Updating of the tickets in ICD.
- On the Slack API page, click Interactivity & Shortcuts tab.
- Enable button for Interactivity and toggle to On.
- In the Request URL, enter the URL of your Service Portal, for example:
https://Service Portal NODE IP:Port/api/slack/event.
where Service Portal NODE IP:Port is the IP address and the port number of your Service Portal server.
- Click Create New Shortcut, a Create a shortcut dialog will open.
- In Create a shortcut dialog, select On messages box and click Next to open Details dialog box.
- In the Details dialog, fill the following:
- Name: Enter action name, for example Update Ticket.
- Short Description: Enter short description, for example Update Ticket.
- Callback ID: This must be filled as ticket_update.