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 votes
Joseph 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 plugins.atlassian.com.

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?

Joseph 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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,801 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot