Slack slash commands
Slash commands provides a quick way to invoke your app to perform specific actions from Slack.
You need to configure slash commands to execute the commands. Only a user with the sn_incident_write, itil or admin role can execute the commands.
| Commands | Description |
|---|---|
| /now help | Provides list of available ServiceNow commands with description. |
| /now create incident | Creates an incident with the inputs provided by the user. |
| /now list incidents | Lists all active incidents assigned to the user. |
| /now oncall \[group name\] | Displays shifts and members who are currently on-call for a group.Note: Only a user with the itil or the admin role can execute this command. |
| Slash commands that can be run only from channels associated with ServiceNow | |
| /now comment \[comment\] | Posts a comment in the Additional comments field of the associated incident. |
| /now note \[note\] | Posts a note in the Work notes field of the associated incident. |
| /now assigntome | Assigns associated incident to the slack user. |
| /now assign \[@slack\_user\] | Assigns associated incident to a specific user. |