- Moved to GitLab Free in 11.9.
If you want to control and view GitLab content while you’re working in Slack and Mattermost, you can use slash commands. Type the command as a message in your chat client to activate it. For Slack, this requires an integration configuration.
Slash commands are scoped to a project and require the trigger command specified during configuration.
We suggest you use the project name as the trigger command for simplicity and clarity.
project-name is the trigger command, the slash commands are:
|Shows all available slash commands.|
|Creates a new issue with title |
|Shows the issue with ID |
|Closes the issue with ID |
|Shows up to 5 issues matching |
|Moves the issue with ID |
|Adds a new comment with comment body |
Deploys from the |
|Executes the ChatOps job |
If you are using the GitLab Slack application for
your GitLab.com projects, add the
gitlab keyword at the beginning of the command.
You can create a new issue, display issue details, and search up to 5 issues.
To deploy to an environment, GitLab tries to find a deployment manual action in the pipeline.
If there’s only one action for a given environment, it is triggered. If more than one action is defined, GitLab finds an action name that equals the environment name to deploy to.
The command returns an error if no matching action is found.