Jira-Stash Integration: Login Problem

I did set up Jira and Stash and they're all running fine. I use Jira as user directory for Stash and this works as well.

But I am logged in in Jira it is not possible to access Stash; I have to log in first. As a result I am logged out from Jira and vice versa.

My question: Is that behaviour intended or should it be possible to go from Jira to Stash without a user break (as the users are the same).

Thanks in advance,


2 answers

1 accepted


problem seems to be the cookies and the same context path.

"We've already seen this issue before and it is caused by multiple Atlassian applications (or other Java web applications) being located at the same hostname and context path and overwriting each others JSESSIONID cookies.

As a workaround you need to modify Stash Context Path to a different one[...]"

Another workaround is to check the Remember me box in both applications - works very fine without changing the context path.

Hi, if Stash is using JIRA's user directory, the users are exactly the same. However, you will need to login to both applications as JIRA doesn't support SSO. Currently only Crowd supports this feature.

You shouldn't have to logout of JIRA to login to Stash though. Please check the logs for any errors.

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published 8 hours ago in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

179 views 3 12
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