Enable Smart Commits for existing DVCS - like git - project

I am using Crucible + FishEye with Git repository having application links configured to Jira.

I wondered why my JIRA-123 #start Started progress commits won't change the JIRA ticket. But then I discovered

https://confluence.atlassian.com/display/FISHEYE/Enabling+Smart+Commits :

Go to start of metadata

<colgroup><col width="24"><col></colgroup>

Because Git and Mercurial allow commits to be attributed to users other than those pushing changes to the repository, if your FishEye instance has any DVCS repositories then Smart Commits will be disabled. This is a security measure to prevent privilege escalation. This only occurs when the feature is first initialised, and will not be disabled if new Git or Mercurial repositories are added afterwards.

Q: Is there a somehow doable workaround for this?

I mean another than delete git repository and recreate it, and I bet won't do this.

Fisheye analysis with Crucible code review. (Version 2.7.13 Build:20120517072828 2012-05-17)

1 answer

0 vote
Seb Ruiz Atlassian Team Jul 04, 2012

If you continue to read down that page which you linked to (Enablng Smart Commits), you can still enable the functionality. It is simply disabled by default if you have a Git repository. Once you enable it, it will stay enabled.

You mean that this should work if I have configured Application Links for repository and Crucible, although Day 1 the Smart Commits were disabled and Day 2 Repositories and Projects were added Day 3 Smart Commits were enabled?

Now, it seemed that Crucible integration started working by +review command. Nice. Did not try that first.

Yet, jira is in other server could that be issue?

Eg. "Issue not found" is shown in mouse-hover on link top of JIRA-123 when commit message was "JIRA-123 #start Show starts"

When I click the link in commit message it opens ok, yet no progress is made.

Does the Jira need some configuration for Smart Commits . I was not able to find such a information.

Jira version is (v4.2.4-b591#591)

Have you created an application link between your JIRA instance and your FishEye instance? See https://confluence.atlassian.com/display/FISHEYE/JIRA+Integration+in+FishEye for more details about this.

Suggest an answer

Log in or Join to answer
Community showcase
Davin Studer
Published Thursday in Confluence

FUME – A Better Confluence User Macro Editor Experience

...\\.title', editorDiv: 'userMacroEditorDiv', isNew: function(){ return AJS.$('#user-macro-form').prop('name') == 'addusermacro' ? true : false; }, editor: null, isDirty...

45 views 0 4
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
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