Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e334a790
Commit
e334a790
authored
Dec 22, 2016
by
Sean Packham
Committed by
Douglas Barbosa Alexandre
Dec 23, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge branch 'zj-slack-docs' into 'master'
Slack docs [ci skip] See merge request !8269
parent
c478714b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
0 deletions
+37
-0
doc/integration/chat_commands.md
doc/integration/chat_commands.md
+14
-0
doc/project_services/img/slack_setup.png
doc/project_services/img/slack_setup.png
+0
-0
doc/project_services/slack_slash_commands.md
doc/project_services/slack_slash_commands.md
+23
-0
No files found.
doc/integration/chat_commands.md
0 → 100644
View file @
e334a790
# 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 <title> <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
doc/project_services/img/slack_setup.png
0 → 100644
View file @
e334a790
123 KB
doc/project_services/slack_slash_commands.md
0 → 100644
View file @
e334a790
# Slack slash commands
> Introduced in GitLab 8.15
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`
,
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 created beforehand, GitLab cannot create it for you.
## Configuration
First, navigate to the Slack Slash commands service page, found at your project's
**Settings**
>
**Services**
, and you find the instructions there:
!
[
Slack setup instructions
](
img/slack_setup.png
)
Once you've followed the instructions, mark the service as active and insert the token
you've received from Slack. After saving the service you are good to go!
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment