[JIRA]Smart commit with 'local' git repository

Hello.

I come here because i have one question. I have a git repository on a server. And on this same server i have installed Jira.

Actually all work fine and i am really happy with this.

But i recently discovered the smart commit feature.

I connect my jira to my git with the GIT VERSION CONTROL VIEWER. Now i can see the commits and Jira, but there is no smart commit.

But their is one way to use smart commit with this configuration ("local" repository and no github) ?

Thanks !

1 answer

The smart commit helper is introduced in v2.9.3 of the Git add-on - https://bigbrassband.com/documentation.html#sc_helper. So you can easily find, which commits has been detected as smart commits.

How to check, that smart commit feature works:

  1. add your repository into Git Add-on using Add Repository Wizard - https://bigbrassband.com/documentation.html#gitctrlvwr_addrepo
  2. make a git commit like 

    git commit -m"ISSUE_KEY #comment <your comment text>"

    , e.g.

     

    git commit -m"TST-1 #comment This is a comment added by smart commit feature."

     

     

  3. push the commit to your repository
  4. wait for the next reindex of force reindex of your repository in Git Add-on manually https://bigbrassband.com/documentation.html#gitctrlvwr_reindexing
  5. go to the issue TST-1.
    1. Result: the commits is listed on Git Commits Tab and marked by smart commit helper - "SMART COMMIT"
    2. Result: Comment Tab contains a comment "This is a comment added by smart commit feature."

If your git commit is marked by "SMART COMMIT ERROR", then setup SMTP Mail Server (Administration -> System -> Outgoing Mail) to receive an email with smart commit feature error.

Please contact us at support@bigbrassband.com for any questions in the future.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted 7 hours ago in Off-topic

Friday Fun: Board Games

Hey everyone!  Background: I had a power outage that knocked out my internet woohoo. Since my job is primarily working remote this meant no work, so I went searching for coffee shops to vi...

36 views 5 3
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