From 32b88294d5a3b7bc22682c7942d8b3c4fa1502c6 Mon Sep 17 00:00:00 2001 From: Felipe Artur Date: Tue, 31 Jul 2018 16:17:22 -0300 Subject: Allow multiple JIRA transition ids --- lib/gitlab/regex.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') diff --git a/lib/gitlab/regex.rb b/lib/gitlab/regex.rb index e1a958c508a..0f26fcfe8cb 100644 --- a/lib/gitlab/regex.rb +++ b/lib/gitlab/regex.rb @@ -99,5 +99,9 @@ module Gitlab ) }mx end + + def jira_transition_id_regex + @jira_transition_id_regex ||= /\d+/ + end end end -- cgit v1.2.3