By default, JIRA issue keys (aka Issue IDs) are of the format <project key>-<issue number>, eg. ABC-123. This general format is not changeable. However it is possible to alter the project key format in the jira-application.properties file, where it is defined as a regular expression:
jira.projectkey.pattern = ([A-Z][A-Z]+) |
As you can see, the default is two or more A-Z characters. If, for instance, you wanted to allow numbers (eg. 'ABC2-123'), you would change the regular expression to ([A-Z][A-Z0-9]+).
Also, although JIRA normally starts counting from 1 ('ABC-1', 'ABC-2' etc) you can adjust the starting count by editing the project.pcounter row in the database. JIRA caches this value in memory, so first shutdown your JIRA instance before updating the database. Then make the change in the database, then restart JIRA.
ポイント:
\atlassian-jira\WEB-INF\classes If you use GreenHopper or have integrated JIRA with Bamboo, you should avoid changing JIRA's default project key format as both GreenHopper and Bamboo only support this key format.