Git Integration for Jira Self-Managed (Data Center/Server) Documentation

Contact Support: Server  
Contact Support: Data Center  

Reindexing

Permissions
You must be a member of the jira-developers group to start reindex.

Synchronization between the repository and app will start automatically. However, reindexing may be required to manually start the synchronization process.

Getting started

There are two ways to do this:

  1. To start update of all repositories, go to the Git Integration for Jira app git configuration page then click Reindex All button. Once synchronization is started, the progress will be displayed on this tab.

  2. If a specific repository or integration needs to be synchronized, click the Actions icon then Reindex.

Click the view  icon to see the reindex progress of the selected repository.

Initial Synchronization
Git log entries may not immediately appear when you open Git Commits tab right after the app installation. You need to wait until the revision indexer job completes the initial synchronization.

Reindex API
For advanced administrators who want to have more control on reindex, see the Git Integration for Jira Reindex API.

Scheduler
As of Jira 6.3.10+, Atlassian added the Scheduler Administration (Administration ➜ System ➜ Scheduler Details) page. This page displays the properties of the Jira internal scheduler, the scheduled jobs and their triggers.

The Repository Reindex (GitRevisionIndexerJob) can be configured in the General settings page of the Git Integration for Jira app.

Last indexed revision

The Git Integration for Jira app stores the ID of the last indexed commit for each branch. This ID is used to limit the processed data upon reindex or update. This way, only new commits will be indexed on the next synchronization.

On the Manage git repositories page, click Actions then Reset index to reset the Last Indexed date. Perform this process whenever the Git Integration for Jira app is updated or re-installed.

Reindex and updatedDate filter

The Git Integration for Jira app automatically changes the updatedDate of an issue when a Git commit is added to an issue upon reindex. When the reindex encounters a commit previously modified by the user relating to an issue, that issue will be updated.

You can enable or disable this setting in the Git Integration for Jira app – General Settings page ➜ Jira Issue Updates.

The Git Integration for Jira app updates the “updatedDate” field whenever a commit is made.

Indexing errors

Starting v3.6+ of the Git Integration for Jira app, indexer will show an error message on the Jira issue ➜ Git Commits tab.

Jira Server

Cancelling indexing from the Git Integration admin interface is not currently possible. See workaround in the Known issues page.

Have feedback about this article? Did we miss something? Let us know!
On this page