-
Type:
Suggestion
-
Resolution: Fixed
-
None
-
Component/s: Documentation - All
Hi,
In jira-application.properties, it say that Hyphens should be excluded in Project Key Pattern.
# Project Key Pattern # Specify the perl5 regexp for defining the project key - this regex will be prepended with "^" and closed with "$" for an exact matching rule. # Note that the project key must only be allowed to contain ASCII characters, as it is used in HTTP GET requests. This means that # you should not allow slashes (/) in your project keys, as they will make it impossible for JIRA to distinguish between # project keys and unrelated URL parts. See http://jira.atlassian.com/browse/JRA-12819. Hyphens should also be excluded. See http://jira.atlassian.com/browse/JRA-13910 for more information. # # Also specify the warning and description that will be displayed to inform the user how the project key should be formed. # # If you wish to have alphaNumeric project keys, use the pattern: ([A-Z][A-Z0-9]+) jira.projectkey.pattern = ([A-Z][A-Z]+)
However, our example at Configuring Project Keys show the example using hyphen as shown in the screenshot below:

This two documentations contradict each other and actually, Hyphens should not be used in the Project Key.
Cheers,
Janet