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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

68 views 0 11
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