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:
authorSean McGivern <sean@mcgivern.me.uk>2018-08-06 16:45:24 +0300
committerSean McGivern <sean@mcgivern.me.uk>2018-08-06 16:45:24 +0300
commitad570fa6a1d6c981243ff1c64a8be2c8e369f207 (patch)
treeda7b5754959b9ff5c03049e60a5b8a3af1dd9897 /lib
parent77c75d2b1b4821b1f5fafd107e1925c225fb6a33 (diff)
parent32b88294d5a3b7bc22682c7942d8b3c4fa1502c6 (diff)
Merge branch 'issue_43602' into 'master'
Allow multiple JIRA transitions id split by comma or semicolon Closes #43602 See merge request gitlab-org/gitlab-ce!20939
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