A recent JIRA upgrade appears to have broken a Subversion post-commit hook that I have had in place for a number of years. This hook was working in tandem with the Commit Acceptance plugin (v1.6.0). The python script was using xmlrpc (http://[base]/jira/rpc/xmlrpc) in the URL being called here:
# invoke JIRA web service
xmlrpcUrl = jiraBaseURL + 'jira/rpc/xmlrpc'
try:
s = xmlrpclib.ServerProxy(xmlrpcUrl)
acceptance, comment = s.commitacc.acceptCommit(jiraLogin, jiraPassword, author, projectKey, message).split('|');
except:
acceptance, comment = ['false', 'Unable to connect to the JIRA server at "' + xmlrpcUrl + '".']
I noted in the JIRA upgrade documentation that the use of rpc/xmlrpc is to be deprecated, though I assume that an update to the plugin would accommodate that.
In the meantime however, this hook is essential to our QA measures. How do I reinstantiate this functionality?