-
- Downloads
Update ExternalIssue regex for JIRA integration
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.
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- app/models/external_issue.rb 1 addition, 1 deletionapp/models/external_issue.rb
- config/initializers/1_settings.rb 1 addition, 1 deletionconfig/initializers/1_settings.rb
- spec/lib/gitlab/closing_issue_extractor_spec.rb 11 additions, 0 deletionsspec/lib/gitlab/closing_issue_extractor_spec.rb
- spec/models/external_issue_spec.rb 15 additions, 0 deletionsspec/models/external_issue_spec.rb
Please register or sign in to comment