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,

Martin

2 answers

1 accepted

0 votes
Accepted answer

Hi,

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 Sign up to answer
Community showcase

Scrum Roles Explained: the Do's and the Don'ts

Hello Community,  Today we are going to talk about the three Scrum Roles. There is the Development Team, the Scrum Master and the Product Owner. In my opinion these three are all really impo...

142 views 2 6
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