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

1 vote
Accepted answer
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.

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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

965 views 3 9
Read article

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