Skip to content

Update ExternalIssue regex for JIRA integration

username-removed-170278 requested to merge rbhitchcock/gitlab-ce:master into master

The pattern in the ::reference_pattern class method in the ExternalIssue model does not match all valid forms of JIRA project names. I have updated the regex to match JIRA project names with numbers and underscores. More information on valid JIRA project names can be found here: https://confluence.atlassian.com/jira/changing-the-project-key-format-192534.html

  • The first character must be a letter,
  • All letters used in the project key must be from the Modern Roman Alphabet and upper case, and
  • Only letters, numbers or the underscore character can be used.

Merge request reports

Loading