Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2018-07-31 22:17:22 +0300
committerFelipe Artur <felipefac@gmail.com>2018-08-03 17:47:24 +0300
commit32b88294d5a3b7bc22682c7942d8b3c4fa1502c6 (patch)
tree147f76186d6307c4ef80d477333f4f6c151f2f0d /lib
parentcb2e07309b4e61501a44c3568155bdb73252338f (diff)
Allow multiple JIRA transition ids
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/regex.rb4
1 files changed, 4 insertions, 0 deletions
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