How to ensure all subversion commits have valid jira ticket number?

I have Jira+Fisheye finally setup. All works, Fisheye correctly indexes my repository, all is well.

I understand that I can put BUG-1 into comment on check in and get this changeset auto-magically assigned to proper ticket in JIRA but it is not enforced.

I understand there is plugins for Tortoise SVN to choose bug and do #close command, etc.

What I want is server-side hook to JIRA. So commit rejected if it's done into specific repository without proper ticket number or without comment. How do I achieve this? Is there such scripts available? Is it provided by Atlassian?

2 answers

1 accepted

1 vote
Answer accepted
Joe Clark Atlassian Team May 21, 2012

Have a look at the JIRA Commit Acceptance plugin, which is supported by Atlassian and available for download from

Thanks! That should be exactly what I need.

Looks a little long in the tooth - is there still any activity on this plugin? Will it move to version 2 type? COuld auth tokens be used instead?

SHould we even bother if we plan on heading to 6.0 soon?

Joe Clark Atlassian Team May 05, 2013

As far as I'm aware it's still maintained by the JIRA plugin team and will be made compatible with JIRA 6.0. It's a bit long in the tooth and hasn't had any new feature work done in a long time, but the existing functionality still works fine (as far as I'm aware)

Commit Policy is a relatively new add-on to do this, and other checks on Subversion, Git, Mercurial and Bitbucket commits.

(This is maintained for all JIRA versions after 6.1.)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Jira

Updates to give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

629 views 1 15
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you