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

Accepted Answer
0 votes

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
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

140 views 6 8
View post

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