Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

[JIRA]Smart commit with 'local' git repository

Anthony November 4, 2013

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

0 votes
Irina Svirkina December 19, 2016

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
TAGS
AUG Leaders

Atlassian Community Events