Important directories and files

On this page:

JIRA installation directory

The JIRA installation directory is the directory into which the JIRA application files and libraries have been extracted, either:

JIRA does not modify or store any data in this directory.

Important files and directories

The directories/files described below are found under different sub-directories of the 'JIRA Installation Directory', depending on whether you have installed a recommended Windows, Linux or Archive JIRA. Please substitute the following directories for the <jira-application-dir> placeholder (used throughout the rest of this section), as follows:

  • 'Recommended' distributions — the atlassian-jira subdirectory of the 'JIRA Installation Directory' installed using the 'Windows Installer' and 'Linux Installer', and there associated installations from archive files (.zip and tar.gz respectively).
  • The default installation directory on Linux is:

    /opt/atlassian/jira/

 

<jira-application-dir>/atlassian-jira/WEB-INF/classes/jira-application.properties

This file tells JIRA where to find the JIRA application home directory.
(warning) Be aware that your JIRA home directory defined in this file can be overridden. See Setting your JIRA application home directory for more information.

<jira-application-dir>/atlassian-jira/WEB-INF/classes/jpm.xml

This file stores the default values for JIRA's advanced configuration settings and should not be modified. The default values of properties in this file are customized (i.e. overridden) by redefining them in either the jira-config.properties file (in your JIRA application home directory) or the JIRA database (via the JIRA administration area). See Advanced JIRA configuration for more information.

<jira-application-dir>/atlassian-jira/WEB-INF/lib/

This is the directory where plugins built on Atlassian's Plugin Framework 1 (i.e. 'Plugins 1' plugins) are stored. If you are installing a new 'Plugins 1' plugin, you will need to deploy it into this directory.
'Plugins 2' plugins should be stored in the JIRA application home directory.

<jira-application-dir>/atlassian-jira/WEB-INF/classes/log4j.properties

JIRA's logging configuration file. See Logging and profiling.

The actual log files generated by JIRA can be found in the following locations:

  • JIRA application logbin/atlassian-jira.log
  • Application server log — generally the application server log file can be found under the logs directory. However, this can vary depending on the application server you are running.

<jira-application-dir>/atlassian-jira/WEB-INF/classes/entityengine.xml

This file configures the OFBiz Entity Engine, which JIRA uses to store persist data in a datasource.

The sub-directories/files described below are found under the root of the JIRA application installation directory.

 

conf/server.xml

This file is used for JIRA SSL configuration. See Running JIRA applications over SSL or HTTPS.

Memory settings

The file used to edit JAVA_OPTS memory settings will depend on the method used to install JIRA, as well as the operating system used for your installation.

For example, if you are running JIRA on Tomcat in Windows (manual startup), you would update the following file:
bin\setenv.bat
whereas for JIRA on Tomcat in Linux/Unix, you would update this file:
bin/setenv.sh

See Increasing JIRA memory for further details.

JIRA home directory

The JIRA home directory contains key data that help define how JIRA works. This document outlines the purpose of the various files and subdirectories within the JIRA home directory.

If JIRA was installed using the automated Windows or Linux installers, the default location of the JIRA home directory is:

  • C:\Program Files\Atlassian\Application Data\JIRA (on Windows) or
  • /var/atlassian/application-data/jira (on Linux)

If you install JIRA from an archive file, the JIRA home directory can be any suitable location that is accessible by your JIRA installation. Typical example locations might be:

  • C:\jira\home (on Windows) or
  • /var/jira-home (on Linux or Solaris)

(warning) However, avoid locating the JIRA home directory inside the JIRA application installation directory.

(tick) For information on specifying the location of the JIRA home directory, please see Setting your JIRA application home directory.

Important files

dbconfig.xml

This file (located at the root of your JIRA home directory) defines all details for JIRA's database connection. This file is typically created by running the JIRA setup wizard on new installations of JIRA or by configuring a database connection using the JIRA configuration tool.

You can also create your own dbconfig.xml file. This is useful if you need to specify additional parameters for your specific database configuration, which are not generated by the setup wizard or JIRA configuration tool. For more information, refer to the 'manual' connection instructions of the appropriate database configuration guide in Connecting JIRA to a database.

jira-config.properties

This file (also located at the root of your JIRA home directory) stores custom values for most of JIRA's advanced configuration settings. Properties defined in this file override the default values defined in the jpm.xml file (located in your JIRA application installation directory). See Advanced JIRA configuration for more information.

(info) In new JIRA installations, this file may not initially exist and if so, will need to be created manually. See Making changes to the jira-config.properties file for more information. This file is typically present in JIRA installations upgraded from version 4.3 or earlier, whose advanced configuration options had been customized (from their default values).

Important subdirectories

data

This directory contains application data for your JIRA instance, including attachments (for every version of each attachment stored in JIRA).

export

JIRA will place its automated backup archives into this directory.

log

JIRA will place its logs into this directory. (Note: if the JIRA home directory is not configured, then the logs will be placed into the current working directory instead).

The logs will only start showing up once the first log message is written to them. For example, the internal access log will not be created util JIRA starts writing to it.

You can change the location of the log file using log4j.properties as described in the documentation on Logging and profiling.

plugins

This is the directory where plugins built on Atlassian's Plugin Framework 2 (i.e. 'Plugins 2' plugins) are stored. If you are installing a new 'Plugins 2' plugin, you will need to deploy it into this directory under the installed-plugins sub-directory.

'Plugins 1' plugins should be stored in the JIRA application installation directory.

This directory is created on JIRA startup, if it does not exist already.

caches

This is where JIRA stores caches including:

These files are vital for JIRA performance and should not be modified or removed externally while JIRA is running.

See Search indexing for further details.

tmp

Any temporary content created for various runtime functions such as exporting, importing, file upload and indexing is stored under this directory.

You can remove files from this directory while JIRA is running, but we recommend that you shut down JIRA first before altering the contents of this directory.

Last modified on Dec 11, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.