Here we are making commit in GitHub, but we support several git providers and it should make no difference to you.
Just commit changes as usual and we will do all the rest.
Make sure that repository you are committing to is registered in the system. Administrator of your Jira instance is able to provide this information.
In order to link Git commit and Jira Issue, commit message should contain Issue key.
Number of lines changed in all files of this commit will be displayed in Commits Activity panel on Jira Issue page.
Issue Page after sync
As you can see, our commit was synced automatically and now is displayed on Issue page. If it is still empty please wait a little bit as it might not have been synced yet.
If it's still empty, please check whether commit message actually contains Issue key. It is situated at the top, right after project name. It contains capital letters only with number after the '-' symbol.
If key is correct and git data is still not synced, repository might not be registered in the system. In this case please contact your administrator.
As you can see Git status side panel now shows that repository has 1 commit linked to this Issue.
Avatar of committer if it is possible to retrieve it.
Time of commit in explicit format.
Repository of commit.
Short SHA name.
Files changed in this commit with diff information.
Open popup with an explicit diff of the commit.
To look at your commits and branches click on Open Git Commits in Git Commits status windows
Open Git Commits - link to the commits and branches.
As you can see Git status side panel now shows that the repository has commits linked to this Issue.
You can click on this button to get more information in a popup window.
Branches connected to this Issue.
Time of the most recent commit.
Time of the most recent branches.
Branches that merged to master.
Explicit Commit Diff
This is committed diff popup which shows explicit information about changes in particular file of this commit.
Explicit commit diff of particular file.
For looking changes you can use Side By Side options:
Commits popup is made to provide more information about commit, such as time when it was made or direct link to Git provider site.
Additionally you can see all changed files of commit with diffs and link to this file in commit on provider site.
Commit author’s avatar.
Repository name as a link to Git Provider site.
Commit SHA as a link to its page on Git Provider site.
Short commit message.
Time when this commit was made.
Button to unfold files changed in this commit.
Show all the files.
How to create a branch for this Issue on Git Provider site
Make sure that the repository you are creating a branch in is registered in the system. The administrator of your Jira instance is able to provide this information.
In order to link branch to Jira Issue, the branch name has to contain the Issue key. It doesn’t have to be Issue key exclusively, just to be somewhere in the branch name.
Commits popup after update
Please note that commit message doesn’t have to contain Jira Issue key exclusively and may have other symbols. The App will still detect it.
This button shows changed files for all commits.
Commits are updated and “Latest” shows time of the latest one.