By default, each active user session lasts for 5 hours or 300 minutes of idle time. This means a user can log in and leave the computer for up to 5 hours and their browser session will still remain active.
In this recipe, we will look at how to change the default session timeout.
Since we will be making direct changes to a JIRA file, make sure you create backups for any files that are modified. This recipe will also require a restart of JIRA, so plan this during a time slot that will not affect your users.
Proceed with the following steps to change the session timeout settings in JIRA:
web.xml
file from the <JIRA_INSTALL>/atlassian-jira/WEB-INF
directory in a text editor.session-timeout
to the desired number in minutes:<session-config> <session-timeout>300</session-timeout> </session-config>
JIRA uses the standard Java session configuration in the web.xml
file, which defines the session timeout in minutes. You can refer to this at the following location:
http://docs.oracle.com/cd/E13222_01/wls/docs81/webapp/web_xml.html#1017275