External users getting incorrect login page


We have a JIRA service desk and software configured for internal and external access.  Our company users login to https://support.COMPANY.com/, which autoredirects to https://support.COMPANY.com/secure/Dashboard.jspa which is fine, however when our external users visit the same address https://support.COMPANY.com/ they also get redirected to this Dashboard.jspa. 

But when they try and create an account, they get an Error that we have too many users (in our JIRA Service Desk we are at the limit). 

Is there a way for the https://support.COMPANY.com address to redirect to the portal page for them? (https://support.COMPANY.com/servicedesk/customer/portal/1)

I'm able to redirect the http://support.COMPANY.com/ to the correct https address, but can't figure out the internals of JIRA to redirect to the correct page.




1 answer

Hmm.. What you describe should be the default behaviour. 

When I log into JIRA with my company user I get logged into https://issues.example.com 

If i log out and back in with a JIRA user without permission to JIRA i get redirected to https://issues.example.com/servicedesk/customer/portal/1 

Make sure that your service desk customers does not have access to JIRA. Check default permissions etc.


Thanks for the response.  It does work properly if they have an existing login to the site.  It redirects to the appropriate end page.

The issue comes in when they don't have an account and the signup links appear to work differently between the login.jsp and the customer/portal/1 pages.

That's where my difficulty comes in.  I can't get the support.COMPANY.com address to force everyone's default login page to use the customer/portal/1 page.

As far as I can remember and tell from looking at the site, I haven't changed any default permissions and the settings are pretty much default.



There is no licence limit on customers in jira service desk.

If a user has JIRA (not service desk) permission, then that person will not get the redirect to service desk.

Find a user that has this issue and note his group membership.
If he has jira-users or jira-software-users permission, try removing the group membership.

Sorry I must not be making myself clear.

These are users that do not have an account

They come to the site and since the page that opens is the dashboard or even the login.jsp the signup link won't allow them to create an account. 

If they manually go to the customer/portal/1 page the signup link lets them create a customer account.  

How do I default unauthenticated users to go to the customer/portal/1 site instead of login.jsp.

I do not think that you can automatically redirect users that do not have a service account yet. 

You could have a 301 redirect from lets say http://servicedesk.example.com to /customer/portal/1

Or you could add a link on the Dashboard.jspa to service desk. 

Any idea how I can do a 301 redirect?  I don't know how to do that with Atlassian.

Is this a bug that the signup on the dashboard.jspa login page doesn't let you create a customer only account once your Service Desk users are at their limit?



server {
listen *:80;
server_name servicedesk.example.com;

return 301 https://https://jira.example.com/servicedesk/customer/portal/1/$request_uri;



<VirtualHost *:80>
ServerName servicedesk.example.com

RewriteEngine on
RewriteRule ^/(.*)$ https://jira.example.com/servicedesk/customer/portal/1/$ [L,R]

Regarding your question on signup. 

I tested this on JIRA 7.5.0 with Service desk 3.8.1 and had no problems signing up with another account even if all agents were assigned. (No free agents)

Suggest an answer

Log in or Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

526 views 6 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
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