summaryrefslogtreecommitdiff
path: root/lib/gitlab/chat_commands/issue_show.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/chat_commands/issue_show.rb')
-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