Is there any way to get the Jira Commit Acceptance plugin to work with Jira 6.1.6?

Rob Horan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 16, 2014

We are planning to upgrade Jira and it doesn't seem to make sense to upgrade from an obsolete version to an obsolete version. Unfortunately the commit acceptance plugin has not been updated in nearly two years. Is there a way to get it to work with the latest version of Jira, and if not, is there an alternative available?

3 answers

1 vote
Midori
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 6, 2015

We have released the Commit Policy Plugin some months ago, as a re-implementation of the Commit Acceptance Plugin, that brings in several major improvements:

  • You can check issues against JQL queries (a lot more flexible than what Commit Acceptance supported)
  • Install and upgrade with some clicks from Atlassian Marketplace
  • Auto-generated hook scripts (no need to manually edit script files)
  • Support for Subversion, plus Git, Mercurial and Bitbucket
  • Compatibility updates
  • and a lot more!

Make sure to read the manual and to give it a try!

 

0 votes
Kinto Soft
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 19, 2014

Has anyone tried this version from @Jamie Echlin?

https://bitbucket.org/jamieechlin/jira-commit-acceptance-plugin

0 votes
Norman Abramovitz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 18, 2014

Someone wrote:

After a detailed research we could enable plugin in version 6.1.5. We copied plugin file (commitacceptance-1.6.0.jar) into the folders listed below: -Atlassian\JIRA\atlassian-jira\WEB-INF\lib -Atlassian\Application Data\JIRA\plugins\installed-plugins
I would try this on your test system. It is like installing a version 1 plugin.
Depending on your needs, you could write the same thing without any additional code on the Jira side at all. You can use the Jira REST API from within your perl/python client script to check for if the issue key is valid or has the proper status.
Norman Abramovitz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 18, 2014

Looking at the plugin documentation. Jochen Schmidt wrote a svn perl script that did use Jira's REST api for checking if the issue key exists or not. The script is in the comment section.

https://ecosystem.atlassian.net/wiki/display/CMMT/JIRA+Commit+Acceptance;jsessionid=B7D77F2E56787D435CF3B5AD8025F435

Suggest an answer

Log in or Sign up to answer