<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # GitLab Slack application > 原文:[https://docs.gitlab.com/ee/user/project/integrations/gitlab_slack_application.html](https://docs.gitlab.com/ee/user/project/integrations/gitlab_slack_application.html) * [Slack App Directory](#slack-app-directory) * [Configuration](#configuration) * [Create a project alias for Slack](#create-a-project-alias-for-slack) * [Usage](#usage) # GitLab Slack application[](#gitlab-slack-application-free-only "Permalink") 版本歷史 * 在 GitLab 9.4 中引入. * 分發到 GitLab 10.2 中的 Slack App Directory. **注意:** GitLab Slack 應用程序僅可為 GitLab.com 配置. 它**不適**用于您可以配置[Slack 斜杠命令](slack_slash_commands.html)服務的本地安裝. 我們正計劃使該配置可用于所有的 GitLab 安裝,但是沒有 ETA-參見[#28164](https://gitlab.com/gitlab-org/gitlab/-/issues/28164) . Slack 提供了一個本機應用程序,您可以通過 GitLab.com 上項目的集成來啟用它. ## Slack App Directory[](#slack-app-directory "Permalink") 為您的工作區啟用 GitLab Slack 應用程序的最簡單方法是從[Slack App Directory](https://slack.com/apps)安裝[GitLab 應用](https://slack-platform.slack.com/apps/A676ADMV5-gitlab) [程序](https://slack.com/apps) . 單擊安裝會將您帶到[GitLab Slack 應用程序登錄頁面](https://gitlab.com/profile/slack/edit) ,您可以在其中選擇一個項目來為其啟用 GitLab Slack 應用程序. [![GitLab Slack application landing page](https://img.kancloud.cn/a3/6a/a36a4c2c3074d91b1d5c399abf646608_1415x1105.png)](img/gitlab_slack_app_landing_page.png) ## Configuration[](#configuration "Permalink") 或者,您可以使用項目的集成設置來配置 Slack 應用程序. 請記住,您需要擁有 Slack 團隊的適當權限才能安裝新應用程序,請閱讀 Slack 文檔中有關[將應用程序添加到工作區的更多信息](https://slack.com/help/articles/202035138-Add-an-app-to-your-workspace) . 為您的 Slack 團隊啟用 GitLab 的服務: 1. 轉到項目的 **設置>集成> Slack 應用程序** (僅在 GitLab.com 上可見). 2. Click **添加到松弛**. 就這樣! 現在,您可以開始使用 Slack 斜杠命令. ## Create a project alias for Slack[](#create-a-project-alias-for-slack "Permalink") 要在 GitLab.com 上為 Slack 集成創建項目別名: 1. 轉到項目的主頁. 2. 導航 **設置>集成** (僅在 GitLab.com 上可見) 3. 在" **集成"**頁面上,單擊**Slack application** . 4. 顯示當前的**項目別名** (如果有). 要編輯此值,請點擊**編輯** . 5. 輸入所需的別名,然后點擊**保存更改** . 一些 Slack 命令需要項目別名,如果項目別名不正確或命令中缺少該別名,則會失敗并顯示以下錯誤: ``` GitLab error: project or alias not found ``` ## Usage[](#usage "Permalink") 確認安裝后,您和您的 Slack 團隊中的其他所有人都可以使用所有[slash 命令](../../../integration/slash_commands.html) . 當您執行第一個斜杠命令時,將要求您在 GitLab.com 上授權您的 Slack 用戶. 與[手動配置的 Slack 斜杠命令](slack_slash_commands.html)的唯一區別在于,所有命令均應以`/gitlab`關鍵字為前綴. 我們正在努力使此配置在將來成為可能. 例如,要顯示`gitlab-org/gitlab`項目下的問題編號`1001` ,您可以執行以下操作: ``` /gitlab gitlab-org/gitlab issue show 1001 ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看