36 Star 150 Fork 1

Gitee 极速下载 / gitlabhq

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/gitlabhq/gitlabhq
克隆/下载
slack_slash_commands.md 1.85 KB
一键复制 编辑 原始数据 按行查看 历史
stage group info
Manage
Import and Integrate
To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments

Slack slash commands

DETAILS: Tier: Free, Premium, Ultimate Offering: Self-managed, GitLab Dedicated

NOTE: This feature is only configurable on self-managed GitLab instances. For GitLab.com, use the GitLab for Slack app instead.

You can use slash commands to run common GitLab operations, like creating an issue, from a Slack chat environment. To run slash commands in Slack, you must configure both Slack and GitLab.

GitLab can also send events (such as issue created) to Slack as part of Slack notifications.

For a list of available slash commands, see Slash commands.

Configure the integration

Slack slash commands are scoped to a project. To configure Slack slash commands:

  1. On the left sidebar, select Search or go to and find your project.
  2. Select Settings > Integrations.
  3. Select Slack slash commands and leave this browser tab open.
  4. In a new browser tab, sign in to Slack and add a new slash command.
  5. Enter a trigger name for the slash command. You could use the project name.
  6. Select Add Slash Command Integration.
  7. In the Slack browser tab:
    1. Complete the fields with information from the GitLab browser tab.
    2. Select Save Integration and copy the Token value.
  8. In the GitLab browser tab:
    1. Paste the token and ensure the Active checkbox is selected.
    2. Select Save changes.

You can now run slash commands in Slack.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Ruby
1
https://gitee.com/mirrors/gitlab.git
git@gitee.com:mirrors/gitlab.git
mirrors
gitlab
gitlabhq
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891