JIRA login widget strips the trailing URI slash when redirecting to dashboard

Hi everyone,

I'm running into an issue logging into JIRA. I have just completed upgrading from version 4.0.x to version 5.x (along with upgrading Crowd from 1.6 to 2.4—an ordeal, I assure you).

We use the JIRA WAR version on our own servers. The servlet context we use on Tomcat is /jira/. We can log in using the top-right login link (taking us to the login page) however using the login widget doesn't work: it processes the login fine, but redirects to /jira without the trailing slash. Because of how our servers are configured, this does not map to the /jira/ context and the user gets a 404. Adding the slash to the end of the URI fixes it.

Any idea how to make the login widget redirect to the context with the trailing slash?



1 answer

1 accepted

0 votes
Accepted answer

Yeah, so I had a support request with this same issue from two and a half years ago :)

The workaround for us was to have two entries in `uriworkermap.properties` for the IIS-Tomcat connector.


This seems to work until JIRA allows base-urls with a trailing slash, or fixes the login widget to add the trailing slash (properly representing the servlet context) properly.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,624 views 18 21
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