March 28th 1 PM ET
Free Workshop: Escape the chaos of context-switching

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

Discard cloned files in Jira home directory

DEPRECATED

This feature is deprecated and will be removed from the product after August 15, 2022.

This setting is part of the General Settings configuration page.

VERSION 4.0.1+ This setting is now moved to the Advanced settings in General settings.

This feature will reduce Jira server storage by deleting files from cloned git repositories after indexing. Discarding files can save disk space but may limit some features such as displaying diffs of files.

There are three options to choose from:

  • Keep all cloned binary files. No storage savings. All features available  This option will leave all cloned repositories intact.

  • Discard all files that match the mask below. Some features limited.  This option will delete all files in the cloned repositories matching the declared file extensions.

  • Discard all files EXCEPT those that match the mask below. Some features limited.  This option will delete all other files in the cloned repositories except those files with extensions declared.

Select any option with the discard label to enable editing of the file mask field.

For full list of features, version history and supported Jira version of the Git for Jira app, see Git Integration for Jira app Version History.

Whenever the setting is changed, BigBrassBand recommends to perform a manual reclone of the repositories to ensure an error-free operation.

 

More on general settings

Repository Browser general setting

Source Code Diff Viewing general setting

Require User PAT general setting

Enforce Git service permissions setting

Git roll up issue tab setting

Git commits issue and project tabs setting

Git integration features settings

Enable Automation for Jira general setting

Audit log settings

Branch and pull request settings (formerly Git Integration Options)

Email settings

Scheduled jobs settings

Per node repository indexing setting

Repositories garbage collection checker settings

Diff settings

Discard cloned files in Jira HOME directory setting (this page)

Git operations timeout

Cache sizes settings

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