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

1 votes

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." :)

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

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

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,085 views 13 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot