Configure Issue Tracking System for Project where you would like to capture Jira tickets. This step needs to be done individually for all projects that would like to integrate with Jira.
Now you are ready to commit code with Jira tickets reference in commit message.