When ever users makes a commit to closed jira id, the commit should failed.
I installed commit acceptance plugin in jira and enabled "all issues referenced in the log message unresolved" but this is working on jira only i;e commit is success without throwing any error, but not reflecting on subversion tab in jira id.
What i am looking is commit should be failed saying jira id is in Closed status...
I would suggest to forget JIRA commit acceptance and simple make a call to JIRA rest end point from the hook script (write in your favorite language).
Also an improvement which we did was to periodically dump the list of open issues from JIRA and commit to the protected path in the same repo and the actual hook script will look into only this file rather than making a JIRA call. This will also help to enhance the developer experience as everytime contacting JIRA will slow down the commit operations.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot