diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2018-08-06 16:45:24 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-08-06 16:45:24 +0300 |
commit | ad570fa6a1d6c981243ff1c64a8be2c8e369f207 (patch) | |
tree | da7b5754959b9ff5c03049e60a5b8a3af1dd9897 /lib/gitlab | |
parent | 77c75d2b1b4821b1f5fafd107e1925c225fb6a33 (diff) | |
parent | 32b88294d5a3b7bc22682c7942d8b3c4fa1502c6 (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/gitlab')
-rw-r--r-- | lib/gitlab/regex.rb | 4 |
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 |