Rename `issue create` slash command to `issue new`
This commit is contained in:
parent
ffdea15078
commit
70e72e8938
|
@ -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> |
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue