how to set timeout for jira user session?

Eva
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 26, 2011

I am trying to configure so that user session expire every 30 minutes but i cant seem find the property for it. And it's def not in general nor advance configuration.


Thanks in advance!

3 answers

1 accepted

0 votes
Answer accepted
NielsJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 27, 2011

I'm afraid, there is no way to configure the session timeout in JIRA via administration or a command line option. You have to edit the bundlet web.xml file:

http://confluence.atlassian.com/display/JIRA/Changing+the+default+session+timeout

The default session timeout seems to be 30 minutes. Then you would not have to do anything. Maybe you want to deactivate the "remember my login" option, too?

http://confluence.atlassian.com/display/JIRA/Disabling+Remember+My+Login+on+this+Computer

mlevy5722 June 27, 2017

we are interested in changing the timeout, NOT THE default timeout.
JUST the timeout value?
Where can we go in JIRA to do that? (NOT confluence, in jira o nly).

Thank you.

Lisa Walden January 12, 2021

Is there some support for these types of changes, if you are new at this?

3 votes
Adam Myatt
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 24, 2012

Additionally, if your JIRA authenticates to Crowd, there is a session timeout control in Crowd in the Admin tab, click Session Config. There's a field Session Timeout to enter the Crowd timeout as well which would affect users logged in to JIRA.

William Crighton _CCC_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 6, 2014

Thanks for taking the time to add this little bit of intel Adam - exactly what I was looking for.

Anh Nguyen September 9, 2021

Thanks for the info.  My session timeout setting in Crowd only 30 and now it has been updated.  If anyone couldn't see the Admin tab then select the Cog Wheel -> Session Configuration.

0 votes
Sysad October 23, 2019

A quick tip.

If any of the installations are data center editions and on AWS, I suggest to update the following:

Update timeout in the following three places and make sure timeout number matches in all 3

1. /conf/web.xml
2. /WEB-INF/web.xml
3. Sticky session on ALB Target group(if you are using AWS infra)

Lisa Walden January 12, 2021

Where do you found these files?

Sysad January 12, 2021

Hi Lisa

You will find 1 & 2 in opt/jira/

Like Lisa Walden likes this
Lisa Walden January 12, 2021

I still can not find 1 or 2, can you give me more details on finding these files as an admin?

Sysad January 12, 2021

Look inside your  jira installation directory

  1. for /WEB-INF/web.xml: 
    1. opt/some jira directory/another jira directory/atlassian-jira/WEB-INF/
  2. for /conf/web.xml
    1. opt/some jira directory/another jira directory/conf/
Lisa Walden January 12, 2021

Do you know why an existing user is getting CAPTCHA when they log into JIRA?

Sysad January 12, 2021

CAPTCHA kicks in after certain num of failed attempts of logging in. Either password is incorrect or username or both. If everything is being entered correctly and yet CAPTCHA loop in continuous, the ask user to login in using incognito mode of browser.

 

You can find these settings in system>general configuration

Additionally, Admins can reset captcha in user management by pulling in the affected user.

Valiantys Support May 14, 2021

For the above URL's. 

the first path is:

./atlassian-jira/WEB-INF/web.xml

./conf/web.xml

setting sticky sessions on the ALB when using Datacenter in EC2/AWS. 

Suggest an answer

Log in or Sign up to answer