Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Require commit to be associated with valid Jira issue-is not allowing Maven Release Plugin to commit

Sumanta August 5, 2022


I have enabled my repo with a Pre Hook that will ensure that each commit message is associated with valid Jira issue. This setting is working as expected if manually some one is committing.

But this is not allowing Maven Release Plugin to push commits from jenkins, as a result of that, the pipeline is failing with error message

"One or more JIRA issues from your commits not found by query (project = xxxx)"

I am using maven-release-plugin 3.0.0-M4 with mvn release:prepare.

I am using scmCommentPrefix=xxxx-####



If the Pre Hook is disabled, then Maven Release Plugin is able to do commits, and I can see all the commits are actually associated with the specified Jira issue.

Every time i am passing a valid Jira issue in place of xxxx-#### 

Am I doing something wrong here? Please help me.

  • Thanks


0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events