Book Image

JIRA 6.x Administration Cookbook

By : Patrick Li
Book Image

JIRA 6.x Administration Cookbook

By: Patrick Li

Overview of this book

Table of Contents (16 chapters)
JIRA 6.x Administration Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Changing the default session timeout


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.

Getting ready

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.

How to do it…

Proceed with the following steps to change the session timeout settings in JIRA:

  1. Open the web.xml file from the <JIRA_INSTALL>/atlassian-jira/WEB-INF directory in a text editor.

  2. Locate the following lines and change the value of session-timeout to the desired number in minutes:

    <session-config>
        <session-timeout>300</session-timeout>
    </session-config>
  3. Restart JIRA for the changes to apply.

How it works...