It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do i default Remember me to true @ JIRA login?

Kyle Aug 01, 2012

I can fix this on Confluence easily, but haven't dug enough to do the same for JIRA v5.1. How do i set this checkbox to true always, so users will not have to relogin again and again.


2 answers

1 accepted

2 votes
Answer accepted

You can add javascript to JIRA with something like the following:

<script type="text/javascript">
    //if the "remember me" checkbox exists, check it

Make sure that "#gadget-0" corresponds to the login iframe id, unfortunately it doesn't have have a contstant id or class.

Kyle Aug 02, 2012

Thanks Dennis. I'll give it a try.

0 votes
Denis Cabasson Nov 27, 2013

@Dennis Kromhout van der Meer [Atlassian] : Are you sure this is actually working? In JIRA 6, it seems widget are loaded in their own iframes, so your code would get executed when the main page is loaded, but the iframe wouldn't necessary (probably not) be loaded yet.

Kyle Nov 27, 2013

I also modified %JIRA_INSTALL_FOLDER%\atlassian-jira\includes\loginform.jsp here:

<input class="checkbox" id="login-form-remember-me" name="os_cookie" type="checkbox" value="true" />
                <label for="login-form-remember-me" accesskey="<ww:text name="'alt.text.rememberlogin.accessKey'"/>"><ww:text name="'alt.text.rememberlogin'"/></label>

To have value="true" to force the remember me check box to auto-check, but didn't worked at all. All my users still have to click remember me every single time they login.

At least this setting worked on Confluence. Not sure if this value is even used in JIRA.

Kyle Mar 01, 2015 Simply add an attribute checked or checked="" into the <input /> clause to have it check. Duh.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

1,275 views 2 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you