diff options
author | Pedro Moreira da Silva <pedro@gitlab.com> | 2016-12-15 13:11:43 +0000 |
---|---|---|
committer | Pedro Moreira da Silva <pedro@gitlab.com> | 2016-12-15 13:11:43 +0000 |
commit | 70e72e8938b169f88e5b014500a9afeb6ff66a2b (patch) | |
tree | 7374765457ecc0c92793def60e0ab144b8fc6d0a | |
parent | ffdea150784371e61f1c350c5db630f250ee8a6f (diff) | |
download | gitlab-ce-70e72e8938b169f88e5b014500a9afeb6ff66a2b.tar.gz |
Rename `issue create` slash command to `issue new`25144-gitlab-ce-mattermost-slash-command-for-issue-create-needs-better-documentation
-rw-r--r-- | doc/project_services/mattermost_slash_commands.md | 2 | ||||
-rw-r--r-- | lib/gitlab/chat_commands/issue_create.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/project_services/mattermost_slash_commands.md b/doc/project_services/mattermost_slash_commands.md index a4d2618e567..1a7c13a29b4 100644 --- a/doc/project_services/mattermost_slash_commands.md +++ b/doc/project_services/mattermost_slash_commands.md @@ -132,7 +132,7 @@ The available slash commands are: | Command | Description | Example | | ------- | ----------- | ------- | -| <kbd>/<trigger> issue create <title> **Shift** + **Enter** <description></kbd> | Create a new issue in the project that `<trigger>` is tied to. `<description>` is optional. | <samp>/gitlab issue create We need to change the homepage</samp> | +| <kbd>/<trigger> issue new <title> <kbd>⇧ Shift</kbd>+<kbd>↵ Enter</kbd> <description></kbd> | Create a new issue in the project that `<trigger>` is tied to. `<description>` is optional. | <samp>/gitlab issue new We need to change the homepage</samp> | | <kbd>/<trigger> issue show <issue-number></kbd> | Show the issue with ID `<issue-number>` from the project that `<trigger>` is tied to. | <samp>/gitlab issue show 42</samp> | | <kbd>/<trigger> deploy <environment> to <environment></kbd> | Start the CI job that deploys from one environment to another, for example `staging` to `production`. CI/CD must be [properly configured][ciyaml]. | <samp>/gitlab deploy staging to production</samp> | diff --git a/lib/gitlab/chat_commands/issue_create.rb b/lib/gitlab/chat_commands/issue_create.rb index e6e8ce85e98..cefb6775db8 100644 --- a/lib/gitlab/chat_commands/issue_create.rb +++ b/lib/gitlab/chat_commands/issue_create.rb @@ -8,7 +8,7 @@ module Gitlab end def self.help_message - 'issue create <title>` *`Shift`* + *`Enter`* `<description>' + 'issue new <title> *`⇧ Shift`*+*`↵ Enter`* <description>' end def self.allowed?(project, user) |