Commit fails and quick search doesn't work with the error "Commit rejected: No project accepts this commit"

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

The quick search doesn't work for one of the projects and the commits also fail with the message:

1 2 3 4 5 6 7 8 9 commit -m "[SS10-1] Changes to Improve Code Quality for Wiki Documentation - making it so you don't have to hard code the XML list" C:/src/trunk/sdx-mv90-adapter/sdx-mv90-adapter-war/src/test/java/com/landisgyr/sdx/mv90/SmokeTestWithMocksXmlCopyJUnit4Runner.java Sending C:/src/trunk/sdx-mv90-adapter/sdx-mv90-adapter-war/src/test/java/com/landisgyr/sdx/mv90/SmokeTestWithMocksXmlCopyJUnit4Runner.java Transmitting file data ... A repository hook failed svn: Commit failed (details follow): svn: Commit blocked by pre-commit hook (exit code 1) with output: Committer: bherschberger Commit message: "[SS10-1] Changes to Improve Code Quality for Wiki Documentation - making it so you don't have to hard code the XML list" Commit rejected: No project accepts this commit. Project [SDXADMIN]: Commit message must contain at least one valid issue key. Project [SQ]: Commit message must contain at least one valid issue key. Project [SA]: Commit message must contain at least one valid issue key. Project [SC]: Commit message must contain at least one valid issue key. Project [SS]: Commit message must contain at least one valid issue key. Project [SK]: Commit message must contain at least one valid issue key. Project [SS10]: Commit message must contain at least one valid issue key. Project [SD]: Commit message must contain at least one valid issue key. Project [SX]: Commit message must contain at least one valid issue key.

Cause

The project you are trying to search/commit has numbers or invalid characters in the project key. The project was possibly created in an older version of JIRA which still allowed the number usage in the project key. This is already being tracked in this improvement request:

Workaround

  1. Create a new project with a clean project key (only uppercase letters);

  2. In the issue navigator, search for all the issues of the SDXMV90 project;

  3. In the "Tools" icon on the right corner of the screen, choose the option "all (xx) issue(s)";

    ℹ️ Where 'xx' is the number of issues returned in the search;

  4. Choose the "Move Issues" option;

  5. Select the project you created in the first step to move the issues to;

  6. Finish the bulk operation;

Resolution

Upgrade to JIRA 6.1 or later and then rename the project key.

Updated on April 11, 2025

Still need help?

The Atlassian Community is here for you.