The Git Integration for Jira app supports the Data Center version of Jira. We recommend Jira 8 or higher for Data Center editions of Jira.
To provide access for both users for newly created tables, configure default tables and sequences permissions as follows (where
jira2 are users); see below.
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT ALL PRIVILEGES ON tables TO jira1;
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT ALL PRIVILEGES ON tables TO jira2;
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT ALL PRIVILEGES ON sequences TO jira1;
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT ALL PRIVILEGES ON sequences TO jira2;
The configured repositories are located on the shared resource, since the nodes do not contain their own copy of the repositories.
The smart commits are processed by the reindex job which run once per cluster. The node updates the index during the scheduled reindex job. For Jira Data Centers, the indexes are stored in each node.
The GarbageCollection job should be run once on one node at the same time. The following are indexing triggers:
Indexing is run on newly created repository on other nodes.
Entries from index will be removed from other nodes.
Reindex all repositories on other nodes when the reindex job is triggered.
When the number of nodes in the Data Center cluster is changed, the Jira administrator should manually perform a full reindex for all repositories to rebuild index on new nodes.
The trustFolderStat setting
The trustFolderStat setting can be accessed in the following locations:
Jira dashboard menu Git ➜ Manage repositories ➜ General Settings.
Manage repositories ➜ Actions ➜ Edit integration connection settings.
Manage repositories page ➜ Connect to Git repository wizard ➜ Advanced setup.
When the trustFolderStat setting is set to false, the
.git/objects/pack folder will be always scanned to check for new pack files. If set to true, the
last-modified attribute of the folder will be used to check the folder for modifications.
The default setting for Jira Data Center is false.