How to redirect to System dashboard from login.jsp page

Hi there, I would like force users to login via System dashboard login gadget, becouse we have some informations on that page, we would like all users don't miss when accessing jira. login.jsp seems to be default page when user is not logged in, how can I change that? How can I redirect to system dashboard all not logged users? If there is no configuration option, what would be the best way how to do that via plugin? Thank you very much for any answer.

1 answer

1 accepted

2 votes
Accepted answer

Modify the URL to /secure/Dashboard.jspa instead of /secure/MyJiraHome.jspa in atlassian-jira/default.jsp file.

Hi Jobin,

thank you, it's better now. I'm redirected to dashboard when I acces jira domain directly, but I'm not, when I log out or session expires. Is there any way how to redirect to system dashboard in those cases?

Thank you

That will need modifications to logout.jsp I think.

That did the trick. I have added redirect to system dashboard in login.jsp and it works perfectly. Thank you.

I have the same request. However, I changed mine to redirect to /login.jsp instead of the system dashboard. So I modified the /atlassian-jira/default.jsp page to redirect to /login.jsp instead of /secure/Dashboard.jspa and then restarted the JIRA service. However, it still redirects to the system dashboard. Any ideas on why it's doing this? Thanks.

Tiffany, Can you please tell me which update fixed it for you? Thanks

Hi Thomas, I actually found a better way to accomplish this. Just put this script in your announcement banner and change the privacy to "Public." :)

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

Awesome!  I'll give it a try..  Thank you!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

155 views 0 6
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