Redirect domain to login.jsp instead of system dashboard

I don't ever want to use the system dashboard. Instead, whenever a user goes to, I would like them to automatically redirect to the login.jsp page instead of the system dashboard. For example,

When going to, redirect to:

instead of:

I have modified the JIRA/atlassian-jira/default.jsp file to forward to /login.jsp (see code below). However, my domain URL still redirects to the system dashboard. Is this not correct?


2 answers

1 accepted

This widget could not be displayed.
Ann Worley Atlassian Team May 18, 2017

It looks like JIRA 7 doesn't read the default.jsp file:

Request for documentation on how to tweak JSP in JIRA 7

Please see this comment by Alexandru Luchian Constantinescu for an alternative strategy.

This worked for me. Thanks so much!

Ann Worley Atlassian Team May 18, 2017

That's great! I appreciate your following up to let the Community know it works.

Hi Tiffany,

Could you please indicate me which jsp did you remove from "JIRA_HOME/WEB-INF/web.xml" to make it work?

I'm trying to achieve the exact same thing on our Jira.


Hi Nicolas, I actually found a better solution, one that avoided having to change any server files. Just added this to our announcement banner:

if(jQuery('#header-details-user-fullname').text().indexOf(" ") ==-1 && window.location.href.indexOf("/secure/Dashboard.jspa") != -1)
{ window.location = contextPath+"/login.jsp" }

Let me know if it works for you! 

Hi Tiffany,

It works as required. Thank you very much for this quick answer!

The announcement banner method works well.  But then what can you do when you want to use the announcement banner to warn users about upcoming maintenance.

This widget could not be displayed.

Hi Marcus, this method still allows you to post announcements while having the code in the banner as well.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

226 views 3 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you