I don't ever want to use the system dashboard. Instead, whenever a user goes to jira.mycompany.net, I would like them to automatically redirect to the login.jsp page instead of the system dashboard. For example,
When going to jira.mycompany.net, redirect to:
jira.mycompany.net/login.jsp
instead of:
jira.mycompany.net/secure/dashboard.jspa.
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?
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's great! I appreciate your following up to let the Community know it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nicolas, I actually found a better solution, one that avoided having to change any server files. Just added this to our announcement banner:
<script>
if(jQuery('#header-details-user-fullname').text().indexOf(" ") ==-1 && window.location.href.indexOf("/secure/Dashboard.jspa") != -1)
{ window.location = contextPath+"/login.jsp" }
</script>
Let me know if it works for you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tiffany,
It works as required. Thank you very much for this quick answer!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Tiffany Owen, The script in the announcement banner, worked great on JIRA Server / Data Center 8.X, but it doesn't work anymore on version JIRA Data Center 9.4 (maybe it stopped working on previous 9.X versions).
Can you please provide an updated script?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For future jira admins with this problem,
See this ticket https://jira.atlassian.com/browse/JRASERVER-65521
Here are the steps required for adding a dark feature in Jira:
Login as an administrator and go to: [BASE-URL]/secure/SiteDarkFeatures!default.jspa
In the Enable Dark Feature text field add public.access.disabled
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marcus, this method still allows you to post announcements while having the code in the banner as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was able to use the banner to force login via the secure dashboard like this as well, but then if I follow a saved link, like to an issue or a board, after logging in I don't get forwarded to that link location. Any suggestions on how to make it work?
Thanks,
Jack
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How to achieve this using Jira Java API by embedding own plugin in jira instance?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I woud guess you provide a JavaScript resource and place it in location like atl.general or so, if I am not mistaken.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.