From 4b203877bd66eb811918acd4871e61148306c630 Mon Sep 17 00:00:00 2001 From: "Z.J. van de Weg" Date: Thu, 22 Dec 2016 18:58:39 +0100 Subject: [PATCH] List all commands [ci skip] --- doc/integration/chat_commands.md | 14 ++++++++++++++ doc/project_services/slack_slash_commands.md | 5 +++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 doc/integration/chat_commands.md diff --git a/doc/integration/chat_commands.md b/doc/integration/chat_commands.md new file mode 100644 index 00000000000..4b0084678d9 --- /dev/null +++ b/doc/integration/chat_commands.md @@ -0,0 +1,14 @@ +# Chat Commands + +Chat commands allow user to perform common operations on GitLab right from there chat client. +Right now both Mattermost and Slack are supported. + +## Available commands + +The trigger is configurable, but for the sake of this example, we'll use `/trigger` + +* `/trigger help` - Displays all available commands for this user +* `/trigger issue new <shift+return> <description>` - creates a new issue on the project +* `/trigger issue show <id>` - Shows the issue with the given ID, if you've got access +* `/trigger issue search <query>` - Shows a maximum of 5 items matching the query +* `/trigger deploy <from> to <to>` - Deploy from an environment to another diff --git a/doc/project_services/slack_slash_commands.md b/doc/project_services/slack_slash_commands.md index 92d4e2afd29..b6b5c741d90 100644 --- a/doc/project_services/slack_slash_commands.md +++ b/doc/project_services/slack_slash_commands.md @@ -5,11 +5,12 @@ Slack commands give users an extra interface to perform common operations from the chat environment. This allows one to, for example, create an issue as soon as the idea was discussed in chat. -For all available commands try the help subcommand, for example: `/gitlab help` +For all available commands try the help subcommand, for example: `/gitlab help`, +all review the [full list of commands](../integrations/chat_commands.md). ## Prerequisites -A [team](https://get.slack.help/hc/en-us/articles/217608418-Creating-a-team) in Slack should be create beforehand, GitLab can not create it for you. +A [team](https://get.slack.help/hc/en-us/articles/217608418-Creating-a-team) in Slack should be created beforehand, GitLab cannot create it for you. ## Configuration