a lot of commits displayed with com.xiplink.jira.git.jira_git_plugin

Yury Chernov December 17, 2013

Hello. I use the com.xiplink.jira.git.jira_git_plugin (Git Integration Plugin for JIRA). There is one issue. All git commit's comments which resemble JIRA issue key are displayed in the GIT COMMIT tab. Suppose the JIRA key is AA-1. And GIT comment is "commited new files in /home/dev/aa-1/something.jar". So, this commit is displayed in the GIT COMMITS tab but should not. Is it possible to customize the plugin to use git commits formats which will be parsed by JIRA? Something like #AA-1 instead of just AA-1 Please advise.

1 answer

0 votes
Irina Svirkina December 19, 2016

Which jira.projectkey.pattern do you have? (Administration -> System -> General Configuration -> Advanced Settings button -> jira.projectkey.pattern)

I have the default one

jira.projectkey.pattern = ([A-Z][A-Z]+)

and commit like yours "commited new files in /home/dev/aa-1/something.jar" is ignored, because it contains aa-1, not AA-1.

You can play with jira.projectkey.pattern, but know, that it could have significant consequences.

Please contact us at support@bigbrassband.com for any questions in the future.

 

Suggest an answer

Log in or Sign up to answer