Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,226
Community Members
 
Community Events
168
Community Groups

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 votes
seb 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 Sign up to answer
TAGS
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

205 views 1 6
Read article

Atlassian Community Events