summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2016-11-25 13:09:18 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2016-11-25 13:09:18 +0000
commitfc0350118385df28e435488cbf4be35e5cfbe70b (patch)
tree8a20958682c2de50b3ad24ab8605bf26c0ce915f /lib
parent838c1aad68e8c7f81a0b8778f46f0ce4e7c5439d (diff)
parentd71ad49fc570ef617d0bbf99af53596ef5d48892 (diff)
downloadgitlab-ce-fc0350118385df28e435488cbf4be35e5cfbe70b.tar.gz
Merge branch 'zj-slash-commands-improvements' into 'master' 24769-make-mattermost-command-easier-to-configure
Slash commands improvements See merge request !7638
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/chat_commands/issue_show.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/chat_commands/issue_show.rb b/lib/gitlab/chat_commands/issue_show.rb
index f5bceb038e5..2a45d49cf6b 100644
--- a/lib/gitlab/chat_commands/issue_show.rb
+++ b/lib/gitlab/chat_commands/issue_show.rb
@@ -2,7 +2,7 @@ module Gitlab
module ChatCommands
class IssueShow < IssueCommand
def self.match(text)
- /\Aissue\s+show\s+(?<iid>\d+)/.match(text)
+ /\Aissue\s+show\s+#{Issue.reference_prefix}?(?<iid>\d+)/.match(text)
end
def self.help_message